microsoft / STL

MSVC's implementation of the C++ Standard Library.
Other
10.24k stars 1.51k forks source link

P2248R8 Enabling List-Initialization For Algorithms #4513

Open StephanTLavavej opened 8 months ago

StephanTLavavej commented 8 months ago

WG21-P2248R8 Enabling List-Initialization For Algorithms WG21-P3217R0 Enabling List-Initialization For ranges::find_last

Feature-test macro ( :warning: renamed from the original proposal by https://github.com/cplusplus/draft/commit/05e8bbe848c7af160cf7e7f0ec682b88ffe2d9e0, thanks @cpplearner :heart_eyes_cat: ):

#define __cpp_lib_algorithm_default_value_type 202403L

This was not further increased for WG21-P3217R0 (ranges::find_last).

Note: We're focused on implementing the remaining library-only features in C++23. Until that's done, we will NOT be accepting PRs for C++26 features.

cpplearner commented 6 months ago

Feature-test macro (expected - ⚠️ WG21 editors have raised concerns about its length and it may be renamed ⚠️):

#define __cpp_lib_default_template_type_for_algorithm_values 202403L

They renamed it to __cpp_lib_algorithm_default_value_type in https://github.com/cplusplus/draft/pull/6911/commits/05e8bbe848c7af160cf7e7f0ec682b88ffe2d9e0.