libstdc++
__gnu_cxx::_Relative_pointer_impl< const _Tp > Class Template Reference

#include <pointer.h>

Inheritance diagram for __gnu_cxx::_Relative_pointer_impl< const _Tp >:
[legend]

Public Types

typedef _Tp element_type
 
typedef const _Tp element_type
 

Public Member Functions

_Tp * get () const
 
const _Tp * get () const
 
bool operator< (const _Relative_pointer_impl &__rarg) const
 
bool operator< (const _Relative_pointer_impl &__rarg) const
 
bool operator== (const _Relative_pointer_impl &__rarg) const
 
bool operator== (const _Relative_pointer_impl &__rarg) const
 
void set (_Tp *__arg)
 
void set (const _Tp *__arg)
 

Detailed Description

template<typename _Tp>
class __gnu_cxx::_Relative_pointer_impl< const _Tp >

Relative_pointer_impl needs a specialization for const T because of the casting done during pointer arithmetic.

Definition at line 164 of file pointer.h.

Member Typedef Documentation

◆ element_type [1/2]

typedef _Tp __gnu_cxx::_Relative_pointer_impl< _Tp >::element_type

Definition at line 121 of file pointer.h.

◆ element_type [2/2]

template<typename _Tp>
typedef const _Tp __gnu_cxx::_Relative_pointer_impl< const _Tp >::element_type

Definition at line 167 of file pointer.h.

Member Function Documentation

◆ get() [1/2]

_Tp * __gnu_cxx::_Relative_pointer_impl< _Tp >::get ( ) const
inline

Definition at line 124 of file pointer.h.

◆ get() [2/2]

template<typename _Tp>
const _Tp * __gnu_cxx::_Relative_pointer_impl< const _Tp >::get ( ) const
inline

Definition at line 170 of file pointer.h.

◆ operator<() [1/2]

bool __gnu_cxx::_Relative_pointer_impl< _Tp >::operator< ( const _Relative_pointer_impl< const _Tp > & __rarg) const
inline

Definition at line 144 of file pointer.h.

◆ operator<() [2/2]

template<typename _Tp>
bool __gnu_cxx::_Relative_pointer_impl< const _Tp >::operator< ( const _Relative_pointer_impl< const _Tp > & __rarg) const
inline

Definition at line 190 of file pointer.h.

◆ operator==() [1/2]

bool __gnu_cxx::_Relative_pointer_impl< _Tp >::operator== ( const _Relative_pointer_impl< const _Tp > & __rarg) const
inline

Definition at line 150 of file pointer.h.

◆ operator==() [2/2]

template<typename _Tp>
bool __gnu_cxx::_Relative_pointer_impl< const _Tp >::operator== ( const _Relative_pointer_impl< const _Tp > & __rarg) const
inline

Definition at line 196 of file pointer.h.

◆ set() [1/2]

void __gnu_cxx::_Relative_pointer_impl< _Tp >::set ( _Tp * __arg)
inline

Definition at line 134 of file pointer.h.

◆ set() [2/2]

template<typename _Tp>
void __gnu_cxx::_Relative_pointer_impl< const _Tp >::set ( const _Tp * __arg)
inline

Definition at line 180 of file pointer.h.


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