logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

__gnu_cxx::_Std_pointer_impl.3cxx

Author

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

                                                    libstdc++          __gnu_cxx::_Std_pointer_impl<_Tp>(3cxx)

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.

Name

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

Synopsis

       #include <pointer.h>

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

See Also