#include <ginseng/ginseng.hpp>
#include <sol.hpp>
auto create_ginseng_usertype(sol::state_view& lua) -> sol::simple_usertype<ginseng::database> {
using ginseng::database;
using ent_id = database::ent_id;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <random> | |
#include <vector> | |
#include <queue> | |
#include <cmath> | |
#include <array> | |
#include <algorithm> | |
#include <iterator> | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local linq = {} | |
local where_iter = {} | |
local select_iter = {} | |
local concat_iter = {} | |
local drop_iter = {} | |
-- linq base | |
linq.__index = linq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_realname=reflex | |
pkgbase=mingw-w64-x86_64-${_realname} | |
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") | |
pkgver=1.4.0 | |
pkgrel=1 | |
pkgdesc="Regex-centric, fast lexical analyzer generator for C++ with full Unicode support (mingw-w64)" | |
arch=('any') | |
url="https://www.genivia.com/doc/reflex/html/index.html" | |
license=('BSD-3') | |
depends=() |
Backend renderer interface:
class render_context {
public:
virtual ~render_context() = 0;
virtual void begin() = 0;
virtual void end() = 0;
virtual void draw_rectangle(const std::string& texture, glm::vec2 position, glm::vec2 size) = 0;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local linq = require('linq') | |
local class = require('class') | |
local component_base = class() | |
local function assign(dest, source) | |
for k,v in pairs(source) do | |
dest[k] = v | |
end | |
return dest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bitset> | |
#include <cstddef> | |
class dynamic_bitset { | |
public: | |
using size_type = std::size_t; | |
static constexpr size_type word_size = 64; | |
using bitset = std::bitset<word_size>; |
placeholder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef BRAEBURN_RESOURCECACHE_HPP | |
#define BRAEBURN_RESOURCECACHE_HPP | |
#include <memory> | |
#include <string> | |
#include <unordered_map> | |
#include <typeindex> | |
namespace braeburn { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef RASPBERRY_HPP | |
#define RASPBERRY_HPP | |
#include <memory> | |
#include <utility> | |
#define DECL_ERASURE_MEMBER_CONCEPT(ConceptName, FuncName) \ | |
template <typename Func> \ | |
struct ConceptName; \ | |
template <typename R, typename... Args> \ |