Lightweight, header-only C++14 metaprogramming library. Created for KFR framework.
- Pattern matching
- Compile-time arrays
- Compile-time type information (CTTI)
- Compile-time string manipulation
- Compile-time operations on arrays and numbers
- 'value-or-errorcode' union-like type
- type for passing named arguments
- function wrapper (lightweight replacement for std::function)
- Useful constexpr functions and many more.
CoMeta is platform-independent but modern C++14 compiler is required.
- AppleClang (XCode 7, 8)
- Clang 3.7 or newer
- GCC 5.1 or newer
See tests/cometa_test.cpp
MIT
See LICENSE for details