|
LLVM 23.0.0git
|
Helper class for calculating the default number of inline elements for SmallVector<T>. More...
#include "llvm/ADT/SmallVector.h"
Static Public Attributes | |
| static constexpr size_t | kPreferredSmallVectorSizeof = 64 |
| static constexpr size_t | PreferredInlineBytes |
| static constexpr size_t | NumElementsThatFit = PreferredInlineBytes / sizeof(T) |
| static constexpr size_t | value |
Helper class for calculating the default number of inline elements for SmallVector<T>.
This should be migrated to a constexpr function when our minimum compiler support is enough for multi-statement constexpr functions.
Definition at line 1138 of file SmallVector.h.
|
staticconstexpr |
Definition at line 1146 of file SmallVector.h.
|
staticconstexpr |
Definition at line 1181 of file SmallVector.h.
|
staticconstexpr |
Definition at line 1179 of file SmallVector.h.
|
staticconstexpr |
Definition at line 1182 of file SmallVector.h.