Transform an array received from Excel to a CLR array
template< class T > array<T>^ toClr<T>( const std::vector<T>& vector ); template< class T > array<T, 2>^ toClr<T>( const ple::mtx_ptrs<T>& matrix ); |
A vector of values, whose elements must be one of the following types:
A matrix of values, whose elements must be one of the following types:
A CLR array, that may be passed directly to a .NET method, using C++/CLI.
The various forms of this template function transform C++ arrays to equivalent .NET arrays.
A large number of specializations exist, for transforming between arrays of similar but different types. See toClr (function) for a complete list.
Header: xlpclrconvert.h