libstdc++
pointer.h File Reference

Go to the source code of this file.

Classes

struct  __gnu_cxx::_Invalid_type
class  __gnu_cxx::_Pointer_adapter< _Storage_policy >
class  __gnu_cxx::_Relative_pointer_impl< _Tp >
 A storage policy for use with _Pointer_adapter<> which stores the pointer's address as an offset value which is relative to its own address. More...
class  __gnu_cxx::_Relative_pointer_impl< const _Tp >
class  __gnu_cxx::_Std_pointer_impl< _Tp >
 A storage policy for use with _Pointer_adapter<> which yields a standard pointer. More...
struct  __gnu_cxx::_Unqualified_type< _Tp >

Namespaces

namespace  __gnu_cxx
namespace  std

Macros

#define _CXX_POINTER_ARITH_OPERATOR_SET(INT_TYPE)
#define _GCC_CXX_POINTER_COMPARISON_OPERATION_SET(OPERATOR)

Functions

template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator!= (const _Pointer_adapter< _Tp1 > &__lhs, _Tp2 __rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator!= (_Tp1 __lhs, const _Pointer_adapter< _Tp2 > &__rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator!= (const _Pointer_adapter< _Tp1 > &__lhs, const _Pointer_adapter< _Tp2 > &__rhs)
template<typename _Tp >
bool __gnu_cxx::operator!= (const _Pointer_adapter< _Tp > &__lhs, int __rhs)
template<typename _Tp >
bool __gnu_cxx::operator!= (int __lhs, const _Pointer_adapter< _Tp > &__rhs)
template<typename _Tp >
bool __gnu_cxx::operator!= (const _Pointer_adapter< _Tp > &__lhs, const _Pointer_adapter< _Tp > &__rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator< (_Tp1 __lhs, const _Pointer_adapter< _Tp2 > &__rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator< (const _Pointer_adapter< _Tp1 > &__lhs, const _Pointer_adapter< _Tp2 > &__rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator< (const _Pointer_adapter< _Tp1 > &__lhs, _Tp2 __rhs)
template<typename _CharT , typename _Traits , typename _StoreT >
std::basic_ostream< _CharT,
_Traits > & 
__gnu_cxx::operator<< (std::basic_ostream< _CharT, _Traits > &__os, const _Pointer_adapter< _StoreT > &__p)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator<= (const _Pointer_adapter< _Tp1 > &__lhs, _Tp2 __rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator<= (_Tp1 __lhs, const _Pointer_adapter< _Tp2 > &__rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator<= (const _Pointer_adapter< _Tp1 > &__lhs, const _Pointer_adapter< _Tp2 > &__rhs)
template<typename _Tp >
bool __gnu_cxx::operator<= (const _Pointer_adapter< _Tp > &__lhs, const _Pointer_adapter< _Tp > &__rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator== (_Tp1 __lhs, const _Pointer_adapter< _Tp2 > &__rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator== (const _Pointer_adapter< _Tp1 > &__lhs, _Tp2 __rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator== (const _Pointer_adapter< _Tp1 > &__lhs, const _Pointer_adapter< _Tp2 > &__rhs)
template<typename _Tp >
bool __gnu_cxx::operator== (const _Pointer_adapter< _Tp > &__lhs, int __rhs)
template<typename _Tp >
bool __gnu_cxx::operator== (int __lhs, const _Pointer_adapter< _Tp > &__rhs)
template<typename _Tp >
bool __gnu_cxx::operator== (const _Pointer_adapter< _Tp > &__lhs, const _Pointer_adapter< _Tp > &__rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator> (_Tp1 __lhs, const _Pointer_adapter< _Tp2 > &__rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator> (const _Pointer_adapter< _Tp1 > &__lhs, _Tp2 __rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator> (const _Pointer_adapter< _Tp1 > &__lhs, const _Pointer_adapter< _Tp2 > &__rhs)
template<typename _Tp >
bool __gnu_cxx::operator> (const _Pointer_adapter< _Tp > &__lhs, const _Pointer_adapter< _Tp > &__rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator>= (const _Pointer_adapter< _Tp1 > &__lhs, _Tp2 __rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator>= (const _Pointer_adapter< _Tp1 > &__lhs, const _Pointer_adapter< _Tp2 > &__rhs)
template<typename _Tp1 , typename _Tp2 >
bool __gnu_cxx::operator>= (_Tp1 __lhs, const _Pointer_adapter< _Tp2 > &__rhs)
template<typename _Tp >
bool __gnu_cxx::operator>= (const _Pointer_adapter< _Tp > &__lhs, const _Pointer_adapter< _Tp > &__rhs)

Detailed Description

This file is a GNU extension to the Standard C++ Library.

Author:
Bob Walters

Provides reusable _Pointer_adapter for assisting in the development of custom pointer types that can be used with the standard containers via the allocator::pointer and allocator::const_pointer typedefs.

Definition in file pointer.h.