Método System::ObjectExt::ArrayInitializerCast

ObjectExt::ArrayInitializerCast method

Convierte valores fundamentales de matrices (que C# hace implícitamente pero C++ aparentemente no lo hace).

template<typename To,typename ...> static std::enable_if<(std::is_fundamental<To>::value), std::array<To, sizeof...(From)>>::type System::ObjectExt::ArrayInitializerCast(From ...args)
ParámetroDescripción
ATipo objetivo.
FromTipos de origen.
ParámetroTipoDescripción
argsDe …Valores a convertir y empujar al array objetivo.

ReturnValue

Array containing converted copies of all arguments in the same order.

Ver también