Et

Template expressions in C++.

Convenient when using templates.

a = Et("static_cast")("char*"); b = a("foo"); // static_cast<char*>(foo); c = a("bar"); // static_cast<char*>(bar);

v = Et("vector")("int"); v0 = v ~ E("foo"); // vector<int> foo; v1 = v("bar"); // vector<int>(bar);

Constructors

this
this(T tmpl)

Straight copy of parameter tmpl.

this
this(T tmpl)

Convert parameter tmpl to string representation.

Members

Functions

opCall
auto opCall(T params)

Represent the semantic meaning of "template name"("params").

Structs

Ett
struct Ett

Template with parameters parameters.

Meta