System::ObjectExt::ArrayInitializerCast 方法
ObjectExt::ArrayInitializerCast method
转换数组基本值(C# 会隐式执行,但 C++ 显然不会)。
template<typename To,typename ...> static std::enable_if<(std::is_fundamental<To>::value), std::array<To, sizeof...(From)>>::type System::ObjectExt::ArrayInitializerCast(From ...args)
| 参数 | 描述 |
|---|---|
| To | 目标类型。 |
| From | 源类型。 |
| 参数 | 类型 | 描述 |
|---|---|---|
| args | 来自 … | 要转换并推入目标数组的值。 |
ReturnValue
Array containing converted copies of all arguments in the same order.
另见
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++