Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
The function template <<ref_value_from>> provides an interface to construct a <<ref_value>> from a type `T`. The function template <<ref_value_to>> converts in the opposite direction, from a type `T` to <<ref_value>>. Both support a wide variety of different函数模板 <<ref_value_from>> 提供了从类型 `T` 构造 <<ref_value>> 的接口。函数模板 <<ref_value_to>> 则执行相反方向的转换,从类型 `T` 转换为 <<ref_value>>。两者均支持多种不同的 https://en.cppreference.com/w/cpp/language/types[fundamental types], such as基础类型](如 `int`or或 `double`, standard library types, such as)、标准库类型(如 `std::string`or或 `std::vector<T>`, and can be extended to support user-defined types.t>`),并可扩展以支持用户定义类型。</t></ref_value></ref_value_to></ref_value></ref_value_from>