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
102 "You are trying to use a default number of inlined elements for "
103 "`InlinedVector<T>` but `sizeof(T)` is really big! Please use an "
104 "explicit number of inlined elements with `InlinedVector<T, N>` to make "
105 "sure you really want that much inline storage.");
119 template <
typename T,
121 typename Allocator = std::allocator<T>>
126 template <
typename T,
128 typename Allocator = std::allocator<T>>
131 #endif // DISABLE_ABSEIL
133 template <
typename T,
134 typename Allocator = std::allocator<T>>
137 template <
typename Key,
typename Value,
138 typename Allocator = std::allocator<std::pair<const Key, Value>>>
141 template <
typename T,
typename Allocator = std::allocator<T>>
144 template <
typename Key,
typename Value,
145 typename Allocator = std::allocator<std::pair<const Key, Value>>>
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 kPreferredInlinedVectorSizeof
static constexpr size_t PreferredInlineBytes
GA_API const UT_StringHolder N