operator== -- type_info/op_equal: C++23 P1328R1対応

1 · cpprefjp · Aug. 19, 2021, 10:09 a.m.
diff --git a/reference/typeinfo/type_info/op_equal.md b/reference/typeinfo/type_info/op_equal.md index f2a89af11..38265f67b 100644 --- a/reference/typeinfo/type_info/op_equal.md +++ b/reference/typeinfo/type_info/op_equal.md @@ -5,7 +5,8 @@ * function[meta id-type] ```cpp -bool operator==(const type_info& rhs) const noexcept; +bool operator==(const type_info& rhs) const noexcept; // C++20まで +constexpr bool operator==(const type_info& rhs) const noexcept; // C++23から ``` ## 概要 ...