GDAL

gdal::CXXTypeTraits< T > Struct Template Reference

Trait accepting a C++ type ([u]int[8/16/32/64], float, double, std::complex<float>, std::complex<double> or std::string) and mapping it to GDALDataType / OGRFieldType. More...

`#include <gdal_typetraits.h>`

## Detailed Description

template<typename T>
struct gdal::CXXTypeTraits< T >

Trait accepting a C++ type ([u]int[8/16/32/64], float, double, std::complex<float>, std::complex<double> or std::string) and mapping it to GDALDataType / OGRFieldType.

Each specialization has the following members: static constexpr GDALDataType gdal_type; static constexpr size_t size; static constexpr OGRFieldType ogr_type; static constexpr OGRFieldSubType ogr_subtype;

Since
  3.11

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

- gdal_typetraits.h