2017-08-14 11:30:26 +02:00
2017-08-14 11:30:26 +02:00
2017-08-14 11:30:26 +02:00
2017-08-14 08:12:39 +02:00
2017-08-14 08:12:39 +02:00
2017-08-12 13:53:50 +02:00
2017-08-14 11:30:26 +02:00

Inja

A Template Engine for Modern C++

Build Status Coverage Status Github Issues GitHub License

json data = {{"name", "world"}};
string result = inja::render("Hello {{ world }}!", data);
// "Hello World!"

Integration

Inja is headers only. Just one dependency: json by nlohmann.

#include "json.hpp"
#include "inja.hpp"

Examples

Supported compilers

Currently, the following compilers are tested:

  • GCC 4.9 - 7.1 (and possibly later)
  • Clang 3.6 - 3.7 (and possibly later)

License

The class is licensed under the MIT License.

Description
Languages
C++ 87.6%
CMake 11.7%
Meson 0.5%
Python 0.1%