When VS 2019 16.6 Preview 1 is available, the shipping toolset will support #6 constexpr is_sorted(). At that time, this will become a "good first issue".
- We'll need to build the tools with
/std:c++latest. This is accomplished by telling CMake to use C++20 instead of C++17:
|
set(CMAKE_CXX_STANDARD 17) |
- Then we can remove this comment ("TRANSITION" means "TODO" for us), and change each
assert to static_assert:
|
// TRANSITION, P0202R3, use constexpr is_sorted() |
|
assert(is_sorted(skipped_directories.begin(), skipped_directories.end())); |
|
assert(is_sorted(skipped_extensions.begin(), skipped_extensions.end())); |
|
assert(is_sorted(tabby_filenames.begin(), tabby_filenames.end())); |
(Related to #224.)
When VS 2019 16.6 Preview 1 is available, the shipping toolset will support #6
constexpris_sorted(). At that time, this will become a "good first issue"./std:c++latest. This is accomplished by telling CMake to use C++20 instead of C++17:STL/tools/CMakeLists.txt
Line 7 in a46d897
asserttostatic_assert:STL/tools/validate/validate.cpp
Lines 174 to 177 in a46d897
(Related to #224.)