__gnu_cxx::_Std_pointer_impl(3cxx)

__gnu_cxx::_Std_pointer_impl3cxx

A storage policy for use with _pointer_adapter<> which yields a standard pointer.

Usage

#include <pointer.h>

Public Types

typedef _Tp element_type

Public Member Functions

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

Detailed Description

template<typename _Tp>

class __gnu_cxx::_Std_pointer_impl< _Tp >"A storage policy for use with _Pointer_adapter<> which yields a standard pointer.

A _Storage_policy is required to provide 4 things: 1) A get() API for returning the stored pointer value. 2) An set() API for storing a pointer value. 3) An element_type typedef to define the type this points to. 4) An operator<() to support pointer comparison. 5) An operator==() to support pointer comparison.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Author

Generated automatically by Doxygen for libstdc++ from the source code.

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.