Loading...
Searching...
No Matches
smallVector.h File Reference
+ Include dependency graph for smallVector.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TfSmallVector< T, N >
 This is a small-vector class with local storage optimization, the local storage can be specified via a template parameter, and expresses the number of entries the container can store locally. More...
 

Functions

template<typename T , uint32_t N>
void swap (TfSmallVector< T, N > &a, TfSmallVector< T, N > &b)
 
template<class T , size_t SizeOf>
constexpr uint32_t TfComputeSmallVectorLocalCapacityForTotalSize ()
 

Function Documentation

◆ swap()

template<typename T , uint32_t N>
void swap ( TfSmallVector< T, N > & a,
TfSmallVector< T, N > & b )

Definition at line 929 of file smallVector.h.

◆ TfComputeSmallVectorLocalCapacityForTotalSize()

template<class T , size_t SizeOf>
uint32_t TfComputeSmallVectorLocalCapacityForTotalSize ( )
constexpr

Definition at line 940 of file smallVector.h.