__GNU_CXX::_STD_POINTER_IMPL(3cxx)
πΈ NAME πΈ
__gnu_cxx::_Std_pointer_impl< _Tp > β bestie, this is a storage policy you plug into _Pointer_adapter<> and it literally hands you back a standard pointer. That's the whole vibe. β¨
π SYNOPSIS
#include <pointer.h>
π Public Types
typedef _Tp element_typeβ the typedef that tells everyone what type this thing is pointing at. Iconic, necessary, doing its job.
π«Ά Public Member Functions
_Tp * get () constβ hands you the stored pointer value back. No drama, just vibes.bool operator< (const _Std_pointer_impl &__rarg) constβ the less-than comparison, so pointers can be ordered and compared. Slay.bool operator== (const _Std_pointer_impl &__rarg) constβ the equality comparison. Are these two the same? This answers that, fr fr.void set (element_type *__arg)β stores a pointer value. That's it. That's the whole function. π
π¦ Detailed Description
template<typename _Tp>
class __gnu_cxx::_Std_pointer_impl< _Tp >
Okay so listen: this class is a storage policy for use with _Pointer_adapter<> which yields a standard pointer. That's the one-liner. π
Now here's the tea β a _Storage_policy is required to provide these things, and our girl delivers all of them:
- A
get()API for returning the stored pointer value. β - An
set()API for storing a pointer value. β - An
element_typetypedef to define the type this points to. β - An
operator<()to support pointer comparison. β - An
operator==()to support pointer comparison. β
Yes, the original says "4 things" and then lists 5. Not me fixing it. We report, we don't edit. ππ The list is the list, periodt.
π Author
Generated automatically by Doxygen for libstdc++ from the source code. No human wrote this prose, it just appeared, main character energy honestly.
And that's the page, bestie β source libstdc++, generated by Doxygen, and that header/footer you saw is just the 3cxx manual-page glow-up wrapping around all of it. Go forth and store your pointers. ππ
π¦ 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