Template Function blackbird::_func

Function Documentation

template<typename T>
T blackbird::_func(Visitor *V, blackbirdParser::FunctionLabelContext *ctx, T value)

Apply a blackbird function to an C++ argument.

the function value
  • V: the Blackbird visitor
  • ctx: FunctionLabelContext
  • value: a dummy template argument that corresponds to the expected type of the function value, as determined by the Blackbird type declarations.