Menu

#33 template enhancements

Release 1.2
open
nobody
None
1
2016-03-27
2016-03-27
No

it would be great to have pointers & true/false as parameters to templates. default arguments would be golden :). my hack:

<% include show_event( item.get(), 0 ) %>
...
<% c++ typedef data::t_wall_listing::t_event * t_event_ptr; %>
<% template show_event( t_event_ptr item, bool embedded ) %>

Discussion

Anonymous
Anonymous

Add attachments
Cancel