cpp-poc
February 4, 2014 ยท View on GitHub
Proof-of-concept collection for C++
Contents
benchmark
Benchmarking utilities
defer
Defer action to end of scope
generic-serialize
Serialize arbitrary containers to binary files (and read them back in again) (includes TMP: Template Meta-Programming)
lazy-evaluation
Lazily evaluate variables by providing builder methods (and memoize those build values)
make-unique
C++14's make_unique. It was simply forgotten to be added to C++11
member-dispatch
Dispatch to different member methods based on the type the class was instantiated with.
multidimensional-array
Safe multidimensional arrays like in C, but in C++11 (includes TMP)
range
Leave those old-style for loops behind.
pipe
-Ofun unix like pipes for containers
times
Do something x times