Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
Teuchos::TypeNameTraits< Array< T > > Class Template Reference

TypeNameTraits specialization for Array. More...

#include <Teuchos_Array.hpp>

Static Public Member Functions

static std::string name ()
 
static std::string concreteName (const Array< T > &)
 

Detailed Description

template<typename T>
class Teuchos::TypeNameTraits< Array< T > >

TypeNameTraits specialization for Array.

NOTE: Use of this class requires that either that the type T be defined or that a TypeNameTraits<T> specialization exists. In order not to restrict the use of Array<T> for undefined pointer types (where T=U*), this TypeNameTraits class specialization will not be used in core Array functionality.

This matters because some MPI implementations use pointers to undefined structs. If you want to portably store these undefined struct pointers in an Array, then you can't use this traits class. This is a limitation of the C++ language itself.

Definition at line 773 of file Teuchos_Array.hpp.

Member Function Documentation

template<typename T >
static std::string Teuchos::TypeNameTraits< Array< T > >::name ( )
inlinestatic

Definition at line 775 of file Teuchos_Array.hpp.

template<typename T >
static std::string Teuchos::TypeNameTraits< Array< T > >::concreteName ( const Array< T > &  )
inlinestatic

Definition at line 782 of file Teuchos_Array.hpp.


The documentation for this class was generated from the following file: