Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::ArrayTraits< T > Class Template Reference

Characteristics for an array. More...

#include <arccore/common/ArrayTraits.h>

Public Types

typedef const T & ConstReferenceType
typedef FalseType IsPODType

Detailed Description

template<typename T>
class Arcane::ArrayTraits< T >

Characteristics for an array.

This template class can be specialized to indicate that a type must be considered a POD type for array classes (Array, Array2, ...).

For these classes, if a type is a POD type, then constructors, destructors and copy operators are not called to manage instances of this type in arrays.

To indicate that a type must be considered a POD type, you must use the ARCCORE_DEFINE_ARRAY_PODTYPE macro.

Definition at line 45 of file common/arccore/common/ArrayTraits.h.

Member Typedef Documentation

◆ ConstReferenceType

template<typename T>
typedef const T& Arccore::ArrayTraits< T >::ConstReferenceType

Definition at line 49 of file common/arccore/common/ArrayTraits.h.

◆ IsPODType

template<typename T>
typedef FalseType Arccore::ArrayTraits< T >::IsPODType

Definition at line 50 of file common/arccore/common/ArrayTraits.h.


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