inobelar / ino_meta_lib

Meta-programming library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inobelar's meta-programming library

The set of C++11 utility headers for doing compile-time magic

Examples

Usage

Simply add <path/to/this/repo>/include/ to your include pathes, for example:

  • gcc: $ gcc -O2 ... -I <path/to/this/repo>/include/ ...
  • qmake: add the next into your *.pro file:
    • direct way: INCLUDEPATH += <path/to/this/repo>/include/
    • sub-project way: include(<path/to/this/repo>/include/ino.pri)
  • cmake: read on StackOverflow

Notes

Add INO_ENABLE_COMPILETIME_TESTS define for enabling in-place compile-time tests - for debugging and hacking purpuse only, since it may slow-down compilation.

About

Meta-programming library

License:MIT License


Languages

Language:C++ 95.4%Language:CMake 3.2%Language:QMake 1.4%