Skip to content

Function cast

function cast(Arg &&) base

template <typename T, expression_argument Arg>
KFR_INTRINSIC expression_cast<T, Arg> cast(Arg&& arg)

Creates an expression that converts the values of arg to type T.

Template parameters
T target value type
Parameters
arg input expression
Returns
an expression_cast

Fully qualified name: kfr::cast(Arg &&)

Function cast

function cast(Arg &&, ctype_t<T>) base

template <typename T, expression_argument Arg>
KFR_INTRINSIC expression_cast<T, Arg> cast(Arg&& arg, ctype_t<T>)

Creates an expression that converts the values of arg to type T.

Template parameters
T target value type
Parameters
arg input expression
Returns
an expression_cast

Fully qualified name: kfr::cast(Arg &&, ctype_t<T>)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.