45 #ifndef ARRAY_CONVERSIONS_UNIT_TEST_HELPERS
46 #define ARRAY_CONVERSIONS_UNIT_TEST_HELPERS
49 namespace ArrayConversionsUnitTestHelpers {
101 *a_out[i] = as<T>(i);
109 #endif // ARRAY_CONVERSIONS_UNIT_TEST_HELPERS
T testArrayViewInput(const ArrayView< const Ptr< const T > > &a_in)
This structure defines some basic traits for a scalar field type.
TEUCHOS_ORDINAL_TYPE Teuchos_Ordinal
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.
TypeTo as(const TypeFrom &t)
Convert from one value type to another.
void testArrayViewOutput(const ArrayView< const Ptr< T > > &a_out)
void push_back(const value_type &x)
Array< RCP< T > > generateArrayRcp(const Teuchos_Ordinal n_in)
Smart reference counting pointer class for automatic garbage collection.
Simple wrapper class for raw pointers to single objects where no persisting relationship exists...
Array< RCP< T > > generateArrayRcpGen(const Teuchos_Ordinal n_in)
Replacement for std::vector that is compatible with the Teuchos Memory Management classes...