Skip to content
brett hartshorn edited this page Apr 6, 2015 · 4 revisions

Macro functions are defined inline with special with blocks.

with T as "std::vector<int>":
   v = new( T(1,2,3) )

https://github.com/rusthon/Rusthon/blob/master/examples/macro_templates.md

Sidebar

Clone this wiki locally