Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2023 15:58:31 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        freebsd-standards@freebsd.org
Cc:        Yuri <yuri@FreeBSD.org>
Subject:   FYI: FreeBSD main's llvm17: c++ feature macro status (what is reported to match an older vintage)
Message-ID:  <14F77BD4-5145-4FD5-AF8D-96051B124592@yahoo.com>
References:  <14F77BD4-5145-4FD5-AF8D-96051B124592.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
version_dump.cpp is taken from part of the page:

https://en.cppreference.com/w/cpp/feature_test

(The program does not output the "L" suffix and adds a "-" separator to =
make year
and month easier to notice compared to the encodings in the actual =
feature macros.)

=46rom an amd64 context:

# c++ -std=3Dc++26 -pedantic -Wall -Wextra version_dump.cpp
# ./a.out | grep -E '(/| < )' | grep -v '\-------'
C++11 CORE (20/20)
C++14 CORE (8/9)
C++14 LIB (20/20)
C++17 CORE (19/20)
C++17 LIB (44/49)
C++20 CORE (14/18)
__cpp_concepts                                2019-07  <  2020-02
__cpp_deduction_guides                        2017-03  <  2019-07
__cpp_nontype_template_args                   2014-11  <  2019-11
C++20 LIB (54/67)
__cpp_lib_chrono                              2016-11  <  2019-07
__cpp_lib_variant                             2021-02  <  2021-06
C++23 CORE (6/10)
__cpp_implicit_move                           2020-11  <  2022-07
__cpp_range_based_for                         2016-03  <  2022-11
C++23 LIB (21/64)
__cpp_lib_allocate_at_least                   2021-06  <  2023-02
__cpp_lib_barrier                             2019-07  <  2023-02
__cpp_lib_concepts                            2020-02  <  2022-07
__cpp_lib_ranges                              2022-07  <  2023-02
__cpp_lib_shift                               2018-06  <  2022-02
C++26 CORE (2/3)
C++26 LIB (2/39)
__cpp_lib_chrono                              2016-11  <  2023-06
__cpp_lib_constexpr_algorithms                2018-06  <  2023-06
__cpp_lib_constexpr_complex                   2017-11  <  2023-06
__cpp_lib_not_fn                              2016-03  <  2023-06
__cpp_lib_variant                             2021-02  <  2023-06
ALL CORE MACROS UP TO C++26 (56/67)
__cpp_concepts                                2019-07  <  2020-02
__cpp_deduction_guides                        2017-03  <  2019-07
__cpp_implicit_move                           2020-11  <  2022-07
__cpp_nontype_template_args                   2014-11  <  2019-11
__cpp_range_based_for                         2016-03  <  2022-11
ALL LIB MACROS UP TO C++26 (124/214)
__cpp_lib_allocate_at_least                   2021-06  <  2023-02
__cpp_lib_barrier                             2019-07  <  2023-02
__cpp_lib_chrono                              2016-11  <  2023-06
__cpp_lib_concepts                            2020-02  <  2022-07
__cpp_lib_constexpr_algorithms                2018-06  <  2023-06
__cpp_lib_constexpr_complex                   2017-11  <  2023-06
__cpp_lib_not_fn                              2016-03  <  2023-06
__cpp_lib_ranges                              2022-07  <  2023-02
__cpp_lib_shift                               2018-06  <  2022-02
__cpp_lib_variant                             2021-02  <  2023-06
ATTRIBUTES (9/10)

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14F77BD4-5145-4FD5-AF8D-96051B124592>