Skip to content

inobelar/ino_meta_lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.