13 #pragma warning(disable : 4127)
16 #pragma warning(disable : 4324)
19 #if !defined(__clang__) && defined(__GNUC__)
20 #pragma GCC diagnostic push
21 #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
25 #include <absl/container/inlined_vector.h>
30 #if !defined(__clang__) && defined(__GNUC__)
31 #pragma GCC diagnostic pop
39 #endif // DISABLE_ABSEIL
57 namespace onnxruntime {
58 #ifndef DISABLE_ABSEIL
106 "You are trying to use a default number of inlined elements for "
107 "`InlinedVector<T>` but `sizeof(T)` is really big! Please use an "
108 "explicit number of inlined elements with `InlinedVector<T, N>` to make "
109 "sure you really want that much inline storage.");
123 template <
typename T,
125 typename Allocator = std::allocator<T>>
130 template <
typename T,
132 typename Allocator = std::allocator<T>>
135 #endif // DISABLE_ABSEIL
137 template <
typename T,
138 typename Allocator = std::allocator<T>>
141 template <
typename Key,
typename Value,
142 typename Allocator = std::allocator<std::pair<const Key, Value>>>
145 template <
typename T,
typename Allocator = std::allocator<T>>
148 template <
typename Key,
typename Value,
149 typename Allocator = std::allocator<std::pair<const Key, Value>>>
static constexpr size_t InlinedVectorHeaderSize
A generic, discriminated value, whose type may be queried dynamically.
static constexpr size_t NumElementsThatFit
absl::InlinedVector< T, N, Allocator > InlinedVector
static constexpr size_t kElementSizeCutoff
static constexpr size_t kPreferredInlinedVectorSizeof
static constexpr size_t PreferredInlineBytes
GA_API const UT_StringHolder N