File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,7 @@ target_sources(containers PUBLIC
345
345
source /containers/reference_wrapper.cpp
346
346
source /containers/repeat_n.cpp
347
347
source /containers/reservable.cpp
348
+ source /containers/reserve_space_for.cpp
348
349
source /containers/resizable_container.cpp
349
350
source /containers/resize.cpp
350
351
source /containers/sentinel_t.cpp
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ export import containers.range_view;
94
94
export import containers.reallocation_size;
95
95
export import containers.reference_wrapper;
96
96
export import containers.repeat_n;
97
+ export import containers.reserve_space_for;
97
98
export import containers.resizable_container;
98
99
export import containers.resize;
99
100
export import containers.small_buffer_optimized_vector;
Original file line number Diff line number Diff line change
1
+ // Copyright David Stone 2023.
2
+ // Distributed under the Boost Software License, Version 1.0.
3
+ // (See accompanying file LICENSE_1_0.txt or copy at
4
+ // http://www.boost.org/LICENSE_1_0.txt)
5
+
6
+ export module containers.reserve_space_for;
7
+
8
+ namespace containers {
9
+
10
+ export template <typename Capacity>
11
+ struct reserve_space_for {
12
+ Capacity value;
13
+ };
14
+
15
+ } // namespace containers
You can’t perform that action at this time.
0 commit comments