Skip to content

Commit 2ffa1ba

Browse files
committed
[P0843R4] Implement static_vector
1 parent 1a985bc commit 2ffa1ba

File tree

13 files changed

+2620
-3
lines changed

13 files changed

+2620
-3
lines changed

stl/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ set(HEADERS
185185
${CMAKE_CURRENT_LIST_DIR}/inc/spanstream
186186
${CMAKE_CURRENT_LIST_DIR}/inc/sstream
187187
${CMAKE_CURRENT_LIST_DIR}/inc/stack
188+
${CMAKE_CURRENT_LIST_DIR}/inc/static_vector
188189
${CMAKE_CURRENT_LIST_DIR}/inc/stdatomic.h
189190
${CMAKE_CURRENT_LIST_DIR}/inc/stdexcept
190191
${CMAKE_CURRENT_LIST_DIR}/inc/stop_token

stl/inc/__msvc_all_public_headers.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@
118118
#include <spanstream>
119119
#include <sstream>
120120
#include <stack>
121+
#include <static_vector>
121122
#include <stdexcept>
122123
#include <streambuf>
123124
#include <string>

stl/inc/ranges

-3
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ namespace ranges {
4848
&& (is_pointer_v<_It> || _Has_member_arrow<_It&>);
4949
// clang-format on
5050

51-
template <bool _IsConst, class _Ty>
52-
using _Maybe_const = conditional_t<_IsConst, const _Ty, _Ty>;
53-
5451
template <bool _IsWrapped, class _Ty>
5552
using _Maybe_wrapped = conditional_t<_IsWrapped, _Ty, _Unwrapped_t<_Ty>>;
5653

0 commit comments

Comments
 (0)