|
TECA
The Toolkit for Extreme Climate Analysis
|
Creates an instance of teca_variant_array_impl<T> where T is determined from the type code. More...
#include <teca_variant_array_impl.h>
Public Types | |
| using | allocator = teca_variant_array::allocator |
Static Public Member Functions | |
| static p_teca_variant_array | New (unsigned int type_code, allocator alloc=allocator::malloc) |
Creates an instance of teca_variant_array_impl<T> where T is determined from the type code.
|
inlinestatic |
Construct a new variant array.
| [in] | type_code | the type of array to construct |
| [in] | alloc | the allocator to use |