restructure third-parties, add licenses, add more gcc-compiler tests

This commit is contained in:
pantor
2017-08-14 09:35:37 +02:00
parent 7bb461267a
commit 466a378a08
8 changed files with 139 additions and 42 deletions
+18 -2
View File
@@ -1,10 +1,19 @@
/*
Inja - A Template Engine for Modern C++
*/
#ifndef PANTOR_INJA_HPP
#define PANTOR_INJA_HPP
#include <iostream>
#include <fstream>
#include <string>
#include <regex>
#include "json/json.hpp"
#ifndef NLOHMANN_JSON_HPP
static_assert(false, "nlohmann/json not found.");
#endif
namespace inja {
@@ -428,4 +437,11 @@ public:
}
};
} // namespace inja
string render(string input, json data) {
Environment env = Environment();
return env.render(input, data);
}
} // namespace inja
#endif // PANTOR_INJA_HPP
-14396
View File
File diff suppressed because it is too large Load Diff