iwyu: //aos/containers/...
The full include-list for aos/containers/priority_queue.h:
<stddef.h> // for size_t
<array> // for array
<optional> // for optional
The full include-list for aos/containers/priority_queue_test.cc:
"aos/containers/priority_queue.h"
<functional> // for less
<vector> // for vector, allocator
"gtest/gtest.h" // for AssertionResult, Message, TestPartResult, EXPECT_EQ, TestInfo, Test, ASSERT_TRUE, ASSERT_EQ, TEST_F, ASSERT_FALSE, TEST
The full include-list for aos/containers/sized_array.h:
<cstddef> // for size_t
"absl/container/inlined_vector.h" // for InlinedVector
The full include-list for aos/containers/sized_array_test.cc:
"aos/containers/sized_array.h"
<iterator> // for reverse_iterator
<memory> // for allocator
"gtest/gtest.h" // for Message, TestPartResult, EXPECT_EQ, Test, AssertionResult, CmpHelperNE, TestInfo, ASSERT_NE, EXPECT_FALSE, EXPECT_NE, TEST, EXPECT_TRUE, DeathTest, EXPECT_DEATH
The full include-list for aos/containers/resizeable_buffer.h:
<stdint.h> // for uint8_t
<string.h> // for memcpy, memmove
<algorithm> // for max
<cstdlib> // for size_t, free, aligned_alloc, realloc
<memory> // for unique_ptr
"glog/logging.h" // for Check_LEImpl, CHECK_LE, CHECK_NOTNULL
The full include-list for aos/containers/resizeable_buffer_test.cc:
"aos/containers/resizeable_buffer.h"
<numeric> // for iota
<vector> // for vector
"absl/types/span.h" // for Span
"gmock/gmock.h" // for MakePredicateFormatterFromMatcher, ElementsAre, EXPECT_THAT, ElementsAreArray
"gtest/gtest.h" // for Test, Message, TestPartResult, EXPECT_EQ, TestInfo, CmpHelperGE, TEST, EXPECT_GE
The full include-list for aos/containers/error_list.h:
<stddef.h> // for size_t
<algorithm> // for binary_search
"aos/containers/sized_array.h" // for SizedArray
"flatbuffers/buffer.h" // for Offset
"flatbuffers/flatbuffer_builder.h" // for FlatBufferBuilder
"flatbuffers/vector.h" // for Vector
The full include-list for aos/containers/error_list_test.cc:
"aos/containers/error_list.h"
<stdint.h> // for int8_t
<memory> // for allocator
"aos/json_to_flatbuffer_generated.h" // for BaseType, Configuration, ConfigurationBuilder
"gtest/gtest.h" // for AssertionResult, Message, TestPartResult, Test, EXPECT_EQ, EXPECT_TRUE, TestInfo, TEST, EXPECT_FALSE
The full include-list for aos/containers/ring_buffer.h:
<array> // for array
<cstddef> // for size_t, ptrdiff_t
<iterator> // for random_access_iterator_tag
<new> // for __cpp_lib_launder, launder, operator new
<type_traits> // for aligned_storage
The full include-list for aos/containers/ring_buffer_test.cc:
"aos/containers/ring_buffer.h"
<memory> // for allocator
<ostream> // for operator<<
"glog/logging.h" // for CHECK, COMPACT_GOOGLE_LOG_FATAL, LogMessageFatal, CHECK_EQ, CHECK_GE
"gtest/gtest.h" // for AssertionResult, Message, TestPartResult, TestInfo, ASSERT_TRUE, ASSERT_EQ, TEST_F, EXPECT_EQ, ASSERT_FALSE, Test
The full include-list for aos/containers/inlined_vector.h:
<stddef.h> // for size_t
<vector> // for vector
"absl/container/inlined_vector.h" // for InlinedVector
The full include-list for aos/containers/inlined_vector_test.cc:
"aos/containers/inlined_vector.h"
"aos/realtime.h" // for RegisterMallocHook, ScopedRealtime
"gflags/gflags.h" // for DECLARE_bool, FlagSaver
"gtest/gtest.h" // for Test, TestInfo, DeathTest, Message, TEST, TestPartResult, ASSERT_EQ, EXPECT_DEATH
Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: Ic4db5151c4cf08dd004d8492f09224c9ccc19e5b
diff --git a/aos/containers/sized_array.h b/aos/containers/sized_array.h
index 8a8d2de..4febf55 100644
--- a/aos/containers/sized_array.h
+++ b/aos/containers/sized_array.h
@@ -1,6 +1,8 @@
#ifndef AOS_CONTAINERS_SIZED_ARRAY_H_
#define AOS_CONTAINERS_SIZED_ARRAY_H_
+#include <cstddef>
+
#include "absl/container/inlined_vector.h"
namespace aos {