selfTemplatePipe

Members

Aliases

selfTemplatePipe
alias selfTemplatePipe = Args
Undocumented in source.
selfTemplatePipe
alias selfTemplatePipe = Template!(.selfTemplatePipe!(Template, N - 1, Args))
Undocumented in source.

Examples

// import mir.ndslice.topology: map;
alias map(alias fun) = a => a; // some template
static assert (__traits(isSame, selfTemplatePipe!(map, 2, "a * 2"), map!(pipe!("a * 2", map!"a * 2"))));

Meta