WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
wpi::UidVector< T, reuse_threshold > Class Template Reference

Public Types

using value_type = T
 
using pointer = T *
 
using const_pointer = const T *
 
using reference = T &
 
using const_reference = const T &
 
using size_type = typename std::vector< T >::size_type
 
using difference_type = typename std::vector< T >::difference_type
 
using iterator = impl::UidVectorIterator< typename std::vector< T >::iterator >
 
using const_iterator = impl::UidVectorIterator< typename std::vector< T >::const_iterator >
 

Public Member Functions

bool empty () const
 
size_type size () const
 
T & operator[] (size_type i)
 
const T & operator[] (size_type i) const
 
template<class... Args>
size_type emplace_back (Args &&...args)
 
void erase (size_type uid)
 
void clear ()
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
const_iterator cbegin () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
const_iterator cend () const noexcept
 

The documentation for this class was generated from the following file: