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::__detail::__mini_vector.3cxx

Author

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

                                                    libstdc++    __gnu_cxx::__detail::__mini_vector<_Tp>(3cxx)

Detailed Description

template<typename_Tp>
       class __gnu_cxx::__detail::__mini_vector< _Tp >"__mini_vector<> is a stripped down version of the full-
       fledged std::vector<>.

       It is to be used only for built-in types or PODs. Notable differences are:

       1.  Not all accessor functions are present.

       2.  Used ONLY for PODs.

       3.  No  Allocator template argument. Uses operator new() to get memory, and operator delete() to free it.
           Caveat: The dtor does NOT free the memory allocated, so this a memory-leaking vector!

Name

       __gnu_cxx::__detail::__mini_vector< _Tp > - __mini_vector<> is a stripped down version of the full-
       fledged std::vector<>.

Synopsis

       #include <bitmap_allocator.h>

   PublicTypes
       typedef const _Tp & const_reference
       typedef std::ptrdiff_t difference_type
       typedef pointer iterator
       typedef _Tp * pointer
       typedef _Tp & reference
       typedef std::size_t size_type
       typedef _Tp value_typePublicMemberFunctions
       reference back () const  throw ()
       iterator begin () const  throw ()
       void clear ()  throw ()
       iterator end () const  throw ()
       void erase (iterator __pos)  throw ()
       void insert (iterator __pos, const_reference __x)
       reference operator[] (const size_type __pos) const  throw ()
       void pop_back ()  throw ()
       void push_back (const_reference __x)
       size_type size () const  throw ()

See Also