10.4. decltype macro and template function annotation

The TEMPLATES module implements template instantiation utilities for daslang code generation. It supports stamping out parameterized code patterns with type and value substitution.

See also Template application helpers for template substitution and code generation.

All functions and symbols are in “templates” module, use require to get access to it.

require daslib/templates

10.4.1. Function annotations

template

Function annotation template

10.4.2. Call macros

decltype

Function annotation decltype

decltype_noref

Function annotation decltype_noref