Skip to content
/ cometa Public
forked from kfrlib/cometa

Lightweight, header-only C 14 metaprogramming library. Pattern matching, compile-time stuffs and algorithms (arrays, type information (CTTI), string manipulation), 'value-or-errorcode' union-like type, type for passing named arguments, useful constexpr functions and many more. (MIT license)

License

Notifications You must be signed in to change notification settings

mymcc/cometa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoMeta

Build Status

Lightweight, header-only C 14 metaprogramming library. Created for KFR framework.

Features

  • 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.

Platform

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

Tests

See tests/cometa_test.cpp

License

MIT

See LICENSE for details

About

Lightweight, header-only C 14 metaprogramming library. Pattern matching, compile-time stuffs and algorithms (arrays, type information (CTTI), string manipulation), 'value-or-errorcode' union-like type, type for passing named arguments, useful constexpr functions and many more. (MIT license)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 87.3%
  • C 11.2%
  • Other 1.5%