We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dbc733 commit 5ff463aCopy full SHA for 5ff463a
include/beman/inplace_vector/inplace_vector.hpp
@@ -69,8 +69,8 @@ struct inplace_vector_type_based_storage {
69
constexpr const T *begin() const { return elems.data(); }
70
};
71
72
-// byte array based storage is used for non-constexpr environment, where default
73
-// initialization may not be available.
+// byte based storage is used for non-constexpr environment. Objects of type T are only
+// constructed when needed and they don't even have to be default constructible.
74
//
75
// Selecting this storage type implies: !std::is_trivial_v<T> and Capacity != 0
76
template <typename T, std::size_t Capacity>
0 commit comments