Unix/Linux Go Back    

CentOS 7.0 - man page for __gnu_cxx::_relative_pointer_impl (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

__gnu_cxx::_Relative_pointer_impl< _Tp >(3)	      __gnu_cxx::_Relative_pointer_impl< _Tp >(3)

       __gnu_cxx::_Relative_pointer_impl< _Tp > -

   Public Types
       typedef _Tp element_type

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

Detailed Description
   template<typename _Tp>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.

       This is intended for pointers within shared memory regions which might be mapped at
       different addresses by different processes. For null pointers, a value of 1 is used. (0 is
       legitimate sometimes for nodes in circularly linked lists) This value was chosen as the
       least likely to generate an incorrect null, As there is no reason why any normal pointer
       would point 1 byte into its own pointer address.

       Definition at line 109 of file pointer.h.

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

libstdc++				 Tue Jun 10 20__gnu_cxx::_Relative_pointer_impl< _Tp >(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 04:37 PM.