Language support utilities (C++20)
source_location, <version>, feature-test macros, assume_aligned, to_address, pmr vocabulary, uses-allocator construction, smart-pointer creation.
Connected features
Papers
11 · Toronto 2017 → Belfast 2019Extends make_shared to arrays.
Adds std::to_address.
Adds the <version> header.
Adds the feature-test macros (__cpp_*, __cpp_lib_*) to the standard.
Adds uses_allocator_construction_args, make_obj_using_allocator and friends.
Adds std::assume_aligned.
Adds make_unique_for_overwrite and make_shared_for_overwrite (default initialization).
Adds missing feature-test macros.
Makes pmr::polymorphic_allocator<> (defaulting to byte) a vocabulary type with allocate_bytes/new_object.
Adds std::source_location.
Adds feature-test macros missing for 2017–2019 papers.