Skip to content

Commit 31a10f6

Browse files
committed
[P0843R4] Implement static_vector
1 parent bfa2cb2 commit 31a10f6

File tree

13 files changed

+2595
-3
lines changed

13 files changed

+2595
-3
lines changed

stl/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ set(HEADERS
184184
${CMAKE_CURRENT_LIST_DIR}/inc/span
185185
${CMAKE_CURRENT_LIST_DIR}/inc/sstream
186186
${CMAKE_CURRENT_LIST_DIR}/inc/stack
187+
${CMAKE_CURRENT_LIST_DIR}/inc/static_vector
187188
${CMAKE_CURRENT_LIST_DIR}/inc/stdexcept
188189
${CMAKE_CURRENT_LIST_DIR}/inc/stop_token
189190
${CMAKE_CURRENT_LIST_DIR}/inc/streambuf

stl/inc/__msvc_all_public_headers.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
#include <span>
118118
#include <sstream>
119119
#include <stack>
120+
#include <static_vector>
120121
#include <stdexcept>
121122
#include <streambuf>
122123
#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)