GCC Middle and Back End API Reference
const_derived_container< T, BaseCT > Class Template Reference

#include <iterator-utils.h>

Inheritance diagram for const_derived_container< T, BaseCT >:
Collaboration diagram for const_derived_container< T, BaseCT >:

Public Types

using value_type = T
 
using const_iterator = derived_iterator<T, base_const_iterator>
 

Public Member Functions

 const_derived_container ()=default
 
template<typename... Ts>
 const_derived_container (Ts... args)
 
const_iterator begin () const
 
const_iterator end () const
 
T front () const
 
T back () const
 
T operator[] (unsigned int i) const
 

Private Types

using base_const_iterator = typename BaseCT::const_iterator
 

Member Typedef Documentation

◆ base_const_iterator

template<typename T , typename BaseCT >
using const_derived_container< T, BaseCT >::base_const_iterator = typename BaseCT::const_iterator
private

◆ const_iterator

template<typename T , typename BaseCT >
using const_derived_container< T, BaseCT >::const_iterator = derived_iterator<T, base_const_iterator>

◆ value_type

template<typename T , typename BaseCT >
using const_derived_container< T, BaseCT >::value_type = T

Constructor & Destructor Documentation

◆ const_derived_container() [1/2]

template<typename T , typename BaseCT >
const_derived_container< T, BaseCT >::const_derived_container ( )
default

◆ const_derived_container() [2/2]

template<typename T , typename BaseCT >
template<typename... Ts>
const_derived_container< T, BaseCT >::const_derived_container ( Ts... args)
inlineexplicit

Member Function Documentation

◆ back()

template<typename T , typename BaseCT >
T const_derived_container< T, BaseCT >::back ( ) const
inline

◆ begin()

template<typename T , typename BaseCT >
const_iterator const_derived_container< T, BaseCT >::begin ( ) const
inline

◆ end()

template<typename T , typename BaseCT >
const_iterator const_derived_container< T, BaseCT >::end ( ) const
inline

◆ front()

template<typename T , typename BaseCT >
T const_derived_container< T, BaseCT >::front ( ) const
inline

◆ operator[]()

template<typename T , typename BaseCT >
T const_derived_container< T, BaseCT >::operator[] ( unsigned int i) const
inline

References i.


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