microsoft / STL

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

P2248R8 Enabling List-Initialization For Algorithms #4513

Open StephanTLavavej opened 3 months ago

StephanTLavavej commented 3 months ago

WG21-P2248R8 Enabling List-Initialization For Algorithms

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

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 1 month 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.