__GNU_CXX::_RELATIVE_POINTER_IMPL(3cxx)
๐ธ NAME ๐ธ
okay so bestie, welcome to the man page for __gnu_cxx::_Relative_pointer_impl< _Tp > โ manual section 3cxx, no cap. Itโs 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. ๐
โจ SYNOPSIS โจ
the include is giving one line and one line only:
#include <pointer.h>
๐ Public Types ๐
typedef _Tp element_typeโ yup, thatโs the public type, exactly as written. ๐
๐ซถ Public Member Functions ๐ซถ
_Tp * get () constโ the getter signature, untouched and iconic. โจbool operator< (const _Relative_pointer_impl &__rarg) constโ the less-than operator signature, exactly as listed. ๐bool operator== (const _Relative_pointer_impl &__rarg) constโ the equality operator signature, exactly as listed. ๐ฆvoid set (_Tp *__arg)โ the setter signature, exactly as listed. ๐ธ
๐ฆ Detailed Description ๐ฆ
template<typename _Tp> โ class __gnu_cxx::_Relative_pointer_impl< _Tp >. periodt. ๐
okay so hereโs the actual vibe: itโs 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. Itโs lowkey built for shared-memory situations. ๐ซถ
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. And yes, 0 is legitimate sometimes for nodes in circularly linked lists. (Not me remembering that detail, but okay.) 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. fr fr ๐
๐ Author ๐
The author line says: Generated automatically by Doxygen for libstdc++ from the source code. iconic. ๐
okay bestie, thatโs the whole page! ๐ซถ The original footerโs source/version and date stamp is libst__gnu_cxx::_Rel...ter_impl< _Tp >(3cxx), so thatโs the cute sign-off instead of a copied footer. bye! ๐
๐ฆ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms