HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TfSmallVectorBase Class Reference

#include <smallVector.h>

+ Inheritance diagram for TfSmallVectorBase:

Classes

union  _DataUnion
 

Public Types

using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 

Static Public Member Functions

template<typename U >
static constexpr size_type ComputeSerendipitousLocalCapacity ()
 

Protected Types

using _SizeMemberType = std::uint32_t
 
template<class ValueType , size_t NumLocal>
using _Data = _DataUnion< sizeof(ValueType), alignof(ValueType), NumLocal >
 
template<typename _ForwardIterator >
using _EnableIfForwardIterator = std::enable_if_t< std::is_convertible_v< typename std::iterator_traits< _ForwardIterator >::iterator_category, std::forward_iterator_tag > >
 

Static Protected Member Functions

template<typename Iterator >
static Iterator _UninitializedMove (Iterator first, Iterator last, Iterator dest)
 
template<typename U >
static void _MoveConstruct (U *p, U *src)
 

Detailed Description

Definition at line 32 of file smallVector.h.

Member Typedef Documentation

template<class ValueType , size_t NumLocal>
using TfSmallVectorBase::_Data = _DataUnion<sizeof(ValueType), alignof(ValueType), NumLocal>
protected

Definition at line 47 of file smallVector.h.

template<typename _ForwardIterator >
using TfSmallVectorBase::_EnableIfForwardIterator = std::enable_if_t< std::is_convertible_v< typename std::iterator_traits< _ForwardIterator>::iterator_category, std::forward_iterator_tag > >
protected

Definition at line 77 of file smallVector.h.

using TfSmallVectorBase::_SizeMemberType = std::uint32_t
protected

Definition at line 38 of file smallVector.h.

using TfSmallVectorBase::difference_type = std::ptrdiff_t

Definition at line 51 of file smallVector.h.

using TfSmallVectorBase::size_type = std::size_t

Definition at line 50 of file smallVector.h.

Member Function Documentation

template<typename U >
static void TfSmallVectorBase::_MoveConstruct ( U *  p,
U *  src 
)
inlinestaticprotected

Definition at line 93 of file smallVector.h.

template<typename Iterator >
static Iterator TfSmallVectorBase::_UninitializedMove ( Iterator  first,
Iterator  last,
Iterator  dest 
)
inlinestaticprotected

Definition at line 82 of file smallVector.h.

template<typename U >
static constexpr size_type TfSmallVectorBase::ComputeSerendipitousLocalCapacity ( )
inlinestatic

Definition at line 58 of file smallVector.h.


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