12#ifndef ARCCORE_COMMON_ARRAYTRAITS_H
13#define ARCCORE_COMMON_ARRAYTRAITS_H
17#include "arccore/common/CommonGlobal.h"
48 typedef const T& ConstReferenceType;
62#define ARCCORE_DEFINE_ARRAY_PODTYPE(datatype) \
64 class ArrayTraits<datatype> \
68 typedef datatype ConstReferenceType; \
69 typedef TrueType IsPODType; \
81 typedef const Ptr& ConstReferenceType;
92 typedef const T* ConstReferenceType;
99ARCCORE_DEFINE_ARRAY_PODTYPE(
char);
100ARCCORE_DEFINE_ARRAY_PODTYPE(
signed char);
101ARCCORE_DEFINE_ARRAY_PODTYPE(
unsigned char);
102ARCCORE_DEFINE_ARRAY_PODTYPE(
short);
103ARCCORE_DEFINE_ARRAY_PODTYPE(
int);
104ARCCORE_DEFINE_ARRAY_PODTYPE(
long);
105ARCCORE_DEFINE_ARRAY_PODTYPE(
unsigned short);
106ARCCORE_DEFINE_ARRAY_PODTYPE(
unsigned int);
107ARCCORE_DEFINE_ARRAY_PODTYPE(
unsigned long);
108ARCCORE_DEFINE_ARRAY_PODTYPE(
float);
109ARCCORE_DEFINE_ARRAY_PODTYPE(
double);
110ARCCORE_DEFINE_ARRAY_PODTYPE(
long double);
111ARCCORE_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)
Structure équivalente à la valeur booléenne vrai.