You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this cases method 'jinja2::reflect' reflects regular C++ type into jinja2 template param. If type is a user-defined class or structure then handwritten mapper 'TypeReflection<>' should be provided.
126
+
127
+
# Current Jinja2 support
128
+
Currently, Jinja2Cpp supports the limited number of Jinja2 features. By the way, Jinja2Cpp is planned to be full [jinja2 specification](http://jinja.pocoo.org/docs/2.10/templates/)-conformant. The current support is limited to:
129
+
- expressions. You can use almost every style of expressions: simple, filtered, conditional, and so on.
130
+
- limited number of filters (**join**, **sort**)
131
+
- limited number of testers (**defined**, **startsWith**)
132
+
- limited number of functions (**range**, **loop.cycle**)
133
+
- 'if' statement (with 'elif' and 'else' branches)
134
+
- 'for' statement (with 'else' branch support)
135
+
- 'set' statement
136
+
137
+
# Supported compilers
138
+
Compilation of Jinja2Cpp tested on the following compilers (with C++14 enabled feature):
0 commit comments