From d8142c96f48d70c18df8b6138b6fbc0dcb5ea867 Mon Sep 17 00:00:00 2001 From: onihusube <44743040+onihusube@users.noreply.github.com> Date: Wed, 13 Sep 2023 12:18:46 +0900 Subject: [PATCH] =?UTF-8?q?=E6=A9=9F=E8=83=BD=E3=83=86=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=83=9E=E3=82=AF=E3=83=AD=E8=BF=BD=E5=8A=A0=20#1084?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lang/cpp23/feature_test_macros.md | 22 ++++++++++++++++++++++ reference/version.md | 1 + 2 files changed, 23 insertions(+) create mode 100644 lang/cpp23/feature_test_macros.md diff --git a/lang/cpp23/feature_test_macros.md b/lang/cpp23/feature_test_macros.md new file mode 100644 index 0000000000..c1b8095cab --- /dev/null +++ b/lang/cpp23/feature_test_macros.md @@ -0,0 +1,22 @@ +# 機能テストマクロ +* cpp23[meta cpp] + +## 概要 + +### 言語機能 + +| マクロ名 | 値 | 機能 | +|----------|----|------| +|||| + +### ライブラリ + +ライブラリの機能テストマクロは全て[``](/reference/version.md)でも提供される。 + +| マクロ名 | 値 | 機能 | ヘッダ | +|----------|----|------|--------| +|`__cpp_lib_ranges_as_const`|`202207L`|`ranges::cbegin`が常に定数イテレータを返すようにする|[``](/reference/ranges.md)| + +## 参照 + +- [SD-FeatureTest: Feature-Test Macros and Policies - isocpp](https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations) diff --git a/reference/version.md b/reference/version.md index 12a24a50d6..f937274186 100644 --- a/reference/version.md +++ b/reference/version.md @@ -13,6 +13,7 @@ - [C++14 機能テストマクロ](/lang/cpp14/feature_test_macros.md) - [C++17 機能テストマクロ](/lang/cpp17/feature_test_macros.md) - [C++20 機能テストマクロ](/lang/cpp20/feature_test_macros.md) +- [C++23 機能テストマクロ](/lang/cpp23/feature_test_macros.md) ## 参照 - [P0754R2 ``](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0754r2.pdf)