GCC Middle and Back End API Reference
array_traits< T > Struct Template Reference

#include <array-traits.h>

Inheritance diagram for array_traits< T >:
Collaboration diagram for array_traits< T >:

Public Types

typedef T element_type
 

Static Public Member Functions

static const Tbase (const T &x)
 
static size_t size (const T &)
 

Static Public Attributes

static const bool has_constant_size = true
 
static const size_t constant_size = 1
 

Member Typedef Documentation

◆ element_type

template<typename T , T zero = T (0)>
typedef T scalar_array_traits< T, zero >::element_type
inherited

Member Function Documentation

◆ base()

template<typename T , T zero = T (0)>
static const T * scalar_array_traits< T, zero >::base ( const T & x)
inlinestaticinherited

◆ size()

template<typename T , T zero = T (0)>
static size_t scalar_array_traits< T, zero >::size ( const T & )
inlinestaticinherited

Field Documentation

◆ constant_size

template<typename T , T zero = T (0)>
const size_t scalar_array_traits< T, zero >::constant_size = 1
staticinherited

◆ has_constant_size

template<typename T , T zero = T (0)>
const bool scalar_array_traits< T, zero >::has_constant_size = true
staticinherited

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