Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#include <cstdint>
#include <tuple>
// http://coliru.stacked-crooked.com/a/d1dbab3a4f636698
static const uint8_t BYTE_ZERO = static_cast<uint8_t>('0');
static const uint8_t BYTE_NINE = static_cast<uint8_t>('9');
static const uint8_t BYTE_A_MIN = static_cast<uint8_t>('a');
static const uint8_t BYTE_Z_MIN = static_cast<uint8_t>('z');
// http://coliru.stacked-crooked.com/a/463a25f5b675bdcb
#include <type_traits>
#include <functional>
#include <iostream>
#include <cstdint>
#include <memory>
#include <vector>
#if defined __GNUC__ || \
defined __llvm__
#include <type_traits>
#include <iostream>
#include <cstddef>
#include <memory>
#include <array>
//http://coliru.stacked-crooked.com/a/4fd2f1aaae4c2f87
namespace buffer
{
http://coliru.stacked-crooked.com/a/a4a6e7a59e6df82b (WIP)
http://coliru.stacked-crooked.com/a/87fb07e27e5aa090 (WIP)
http://coliru.stacked-crooked.com/a/dd81fc1e1879366d (WIP)
http://coliru.stacked-crooked.com/a/126df8e343026c28 (Compiling)
http://coliru.stacked-crooked.com/a/fc362db5723da0cb
http://coliru.stacked-crooked.com/a/717084e1a1efeb0c
http://coliru.stacked-crooked.com/a/c0db71fd10b4936a
http://coliru.stacked-crooked.com/a/a0ecbc5d0e87d9cb
http://coliru.stacked-crooked.com/a/2c2c4197014bcad7
http://coliru.stacked-crooked.com/a/0f452ef73afc8724
// http://coliru.stacked-crooked.com/a/a3fd695a6e4f7a96
#include <unordered_map>
#include <typeindex>
#include <iostream>
#include <cstdlib>
#include <memory>
#include <vector>
#if defined __GNUC__ || \
defined __llvm__
http://coliru.stacked-crooked.com/a/db8fab877fa4f2fa
http://coliru.stacked-crooked.com/a/2f820bf0ac55ff23
@matovitch
matovitch / cppenv_llvm.dockerfile
Created March 12, 2018 17:29
Dockerfile for my c++ environment
FROM ubuntu:devel
ENV TO_INSTALL " \
pkg-config \
software-properties-common \
git-core \
curl \
fuse \
libfuse-dev \
cmake \
http://coliru.stacked-crooked.com/a/a7d9e589443cdeec
http://coliru.stacked-crooked.com/a/99843b8e1d6e0598
http://coliru.stacked-crooked.com/a/c48cd413bf80c6c9
// https://oleksandrmanzyuk.wordpress.com/2014/06/18/from-object-algebras-to-finally-tagless-interpreters-2/
#include <iostream>
#include <utility>
#include <string>
/*****************************************************************/
template <template <int> class TNodeAlgebra, class Nodes>
struct TAlgebra;