12#ifndef ARCCORE_COLLECTIONS_ARRAYTRAITS_H 
   13#define ARCCORE_COLLECTIONS_ARRAYTRAITS_H 
   17#include "arccore/collections/CollectionsGlobal.h" 
   45  typedef const T& ConstReferenceType;
 
 
   59#define ARCCORE_DEFINE_ARRAY_PODTYPE(datatype) \ 
   61  class ArrayTraits<datatype>           \ 
   65    typedef datatype ConstReferenceType; \ 
   66    typedef TrueType IsPODType; \ 
   78  typedef const Ptr& ConstReferenceType;
 
 
   89  typedef const T* ConstReferenceType;
 
 
   96ARCCORE_DEFINE_ARRAY_PODTYPE(
char);
 
   97ARCCORE_DEFINE_ARRAY_PODTYPE(
signed char);
 
   98ARCCORE_DEFINE_ARRAY_PODTYPE(
unsigned char);
 
   99ARCCORE_DEFINE_ARRAY_PODTYPE(
short);
 
  100ARCCORE_DEFINE_ARRAY_PODTYPE(
int);
 
  101ARCCORE_DEFINE_ARRAY_PODTYPE(
long);
 
  102ARCCORE_DEFINE_ARRAY_PODTYPE(
unsigned short);
 
  103ARCCORE_DEFINE_ARRAY_PODTYPE(
unsigned int);
 
  104ARCCORE_DEFINE_ARRAY_PODTYPE(
unsigned long);
 
  105ARCCORE_DEFINE_ARRAY_PODTYPE(
float);
 
  106ARCCORE_DEFINE_ARRAY_PODTYPE(
double);
 
  107ARCCORE_DEFINE_ARRAY_PODTYPE(
long double);
 
  108ARCCORE_DEFINE_ARRAY_PODTYPE(std::byte);
 
Caractéristiques pour un tableau.
Espace de nom de Arccore.
Arcane::BFloat16 BFloat16
Type 'Brain Float16'.
Arcane::Float16 Float16
Type 'Float16' (binary16)