placeholder
🏳️🌈
This file contains hidden or 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 hidden or 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>; |
This file contains hidden or 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 hidden or 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> \ |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Title</title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
| <style type="text/css"> | |
| @import url(https://fonts.googleapis.com/css?family=Droid+Sans:400,700,400italic); | |
| @import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic); | |
| body { font-family: 'Helvetica', 'sans-serif' ; } |
This file contains hidden or 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
| # User Configuration | |
| # Compiler flags | |
| CPPFLAGS += | |
| CXXFLAGS += -std=c++1y -pedantic -Wall | |
| LDFLAGS += | |
| LDLIBS += | |
| # Libraries and Executables to be built | |
| LIBS += core |
This file contains hidden or 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 BETTER_ASSERT_HPP | |
| #define BETTER_ASSERT_HPP | |
| #include <iostream> | |
| #include <string> | |
| #include <sstream> | |
| #include <vector> | |
| template <typename B> | |
| struct _asserter { |
This file contains hidden or 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 THREAD_WORKER_HPP | |
| #define THREAD_WORKER_HPP | |
| #include <thread> | |
| #include <future> | |
| #include <mutex> | |
| #include <condition_variable> | |
| #include <list> | |
| #include <utility> | |
| #include <functional> |