Skip to content

Commit de4ddf0

Browse files
committed
[cpp.cond], [cpp.predefined], [support.limits.general] Add feature-test
macros from 2018-06 motions: __has_cpp_attribute(assert) __has_cpp_attribute(ensures) __has_cpp_attribute(expects) __cpp_explicit_bool __cpp_nontype_template_parameter_class __cpp_lib_atomic_ref __cpp_lib_bit_cast __cpp_lib_concepts __cpp_lib_constexpr_swap_algorithms __cpp_lib_list_remove_return_type ... all with value 201806L.
1 parent 0cb09df commit de4ddf0

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

source/preprocessor.tex

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,11 @@
291291
{ll}
292292
\topline
293293
\lhdr{Attribute} & \rhdr{Value} \\ \rowsep
294-
294+
\tcode{assert} & \tcode{201806L} \\
295295
\tcode{carries_depencency} & \tcode{200809L} \\
296296
\tcode{deprecated} & \tcode{201309L} \\
297+
\tcode{ensures} & \tcode{201806L} \\
298+
\tcode{expects} & \tcode{201806L} \\
297299
\tcode{fallthrough} & \tcode{201603L} \\
298300
\tcode{likely} & \tcode{201803L} \\
299301
\tcode{maybe_unused} & \tcode{201603L} \\
@@ -1480,6 +1482,7 @@
14801482
\defnxname{cpp_deduction_guides} & \tcode{201703L} \\ \rowsep
14811483
\defnxname{cpp_delegating_constructors} & \tcode{200604L} \\ \rowsep
14821484
\defnxname{cpp_enumerator_attributes} & \tcode{201411L} \\ \rowsep
1485+
\defnxname{cpp_explicit_bool} & \tcode{201806L} \\ \rowsep
14831486
\defnxname{cpp_fold_expressions} & \tcode{201603L} \\ \rowsep
14841487
\defnxname{cpp_generic_lambdas} & \tcode{201304L} \\ \rowsep
14851488
\defnxname{cpp_guaranteed_copy_elision} & \tcode{201606L} \\ \rowsep
@@ -1494,6 +1497,7 @@
14941497
\defnxname{cpp_noexcept_function_type} & \tcode{201510L} \\ \rowsep
14951498
\defnxname{cpp_nontype_template_args} & \tcode{201411L} \\ \rowsep
14961499
\defnxname{cpp_nontype_template_parameter_auto} & \tcode{201606L} \\ \rowsep
1500+
\defnxname{cpp_nontype_template_parameter_class} & \tcode{201806L} \\ \rowsep
14971501
\defnxname{cpp_nsdmi} & \tcode{200809L} \\ \rowsep
14981502
\defnxname{cpp_range_based_for} & \tcode{201603L} \\ \rowsep
14991503
\defnxname{cpp_raw_strings} & \tcode{200710L} \\ \rowsep

source/support.tex

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,10 @@
551551
\tcode{<utility>} \\ \rowsep
552552
\defnlibxname{cpp_lib_atomic_is_always_lock_free} & \tcode{201603L} &
553553
\tcode{<atomic>} \\ \rowsep
554+
\defnlibxname{cpp_lib_atomic_ref} & \tcode{201806L} &
555+
\tcode{<atomic>} \\ \rowsep
556+
\defnlibxname{cpp_lib_bit_cast} & \tcode{201806L} &
557+
\tcode{<bit>} \\ \rowsep
554558
\defnlibxname{cpp_lib_bool_constant} & \tcode{201505L} &
555559
\tcode{<type_traits>} \\ \rowsep
556560
\defnlibxname{cpp_lib_boyer_moore_searcher} & \tcode{201603L} &
@@ -563,6 +567,10 @@
563567
\tcode{<algorithm>} \\ \rowsep
564568
\defnlibxname{cpp_lib_complex_udls} & \tcode{201309L} &
565569
\tcode{<complex>} \\ \rowsep
570+
\defnlibxname{cpp_lib_concepts} & \tcode{201806L} &
571+
\tcode{<concepts>} \\ \rowsep
572+
\defnlibxname{cpp_lib_constexpr_swap_algorithms} & \tcode{201806L} &
573+
\tcode{<algorithm>} \\ \rowsep
566574
\defnlibxname{cpp_lib_enable_shared_from_this} & \tcode{201603L} &
567575
\tcode{<memory>} \\ \rowsep
568576
\defnlibxname{cpp_lib_exchange_function} & \tcode{201304L} &
@@ -601,6 +609,8 @@
601609
\tcode{<type_traits>} \\ \rowsep
602610
\defnlibxname{cpp_lib_launder} & \tcode{201606L} &
603611
\tcode{<new>} \\ \rowsep
612+
\defnlibxname{cpp_lib_list_remove_return_type} & \tcode{201806L} &
613+
\tcode{<forward_list>} \tcode{<list>} \\ \rowsep
604614
\defnlibxname{cpp_lib_logical_traits} & \tcode{201510L} &
605615
\tcode{<type_traits>} \\ \rowsep
606616
\defnlibxname{cpp_lib_make_from_tuple} & \tcode{201606L} &

0 commit comments

Comments
 (0)