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 6b75318 commit 8dbc733Copy full SHA for 8dbc733
include/beman/inplace_vector/inplace_vector.hpp
@@ -63,7 +63,7 @@ template <typename T, std::size_t Capacity>
63
struct inplace_vector_type_based_storage {
64
using array_type = If<!std::is_const_v<T>, std::array<T, Capacity>,
65
const std::array<std::remove_const_t<T>, Capacity>>;
66
- array_type elems{};
+ array_type elems;
67
68
constexpr T *begin() { return elems.data(); }
69
constexpr const T *begin() const { return elems.data(); }
0 commit comments