Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
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 T &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 770 of file Teuchos_Array.hpp.

Member Function Documentation

◆ name()

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

Definition at line 88 of file Teuchos_TypeNameTraits.hpp.

◆ concreteName()

static std::string Teuchos::TypeNameTraits< T >::concreteName ( const T & t)
inlinestatic

Definition at line 94 of file Teuchos_TypeNameTraits.hpp.


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