目录

CreateFrom

Function Description

Converts DT-type data types (int64_t, float, and std::string) to T-type data types (INT, FLOAT, and STR). The supported conversion options are as follows:

Function Prototype

template<typename T, typename DT>
static T CreateFrom(DT &&val)

Parameters

Parameter Input/Output Description
val Input Parameter of the DT type.

Return Value

Type Description

- INT

- FLOAT

- STR

Parameter of the T type.

Exception Handling

None

Restrictions

None