llvm::SmallVector< T, N > Class Template Reference
SmallVector - This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
More...
#include <SmallVector.h>
List of all members.
Detailed Description
template<typename T, unsigned N>
class llvm::SmallVector< T, N >
SmallVector - This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
It contains some number of elements in-place, which allows it to avoid heap allocation when the actual number of elements is below that threshold. This allows normal "small" cases to be fast without losing generality for large inputs.
Note that this does not attempt to be exception safe.
Member Typedef Documentation
template<typename T, unsigned N>
InlineElts - These are 'N-1' elements that are stored inline in the body of the vector.
The extra '1' element is stored in SmallVectorImpl.
Member Enumeration Documentation
template<typename T, unsigned N>
- Enumerator:
MinUs |
|
NumInlineEltsElts |
|
NumTsAvailable |
|
Constructor & Destructor Documentation
template<typename T, unsigned N>
template<typename T, unsigned N>
template<typename T, unsigned N>
template<typename ItTy >
template<typename T, unsigned N>
Member Function Documentation
template<typename T, unsigned N>
Member Data Documentation
template<typename T, unsigned N>
The documentation for this class was generated from the following file: