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.

Parameters
  • V – the Blackbird visitor

  • ctxFunctionLabelContext

  • value – a dummy template argument that corresponds to the expected type of the function value, as determined by the Blackbird type declarations.

Returns

the function value