length -- basic_stringをconstexprに対応 #688

1 · cpprefjp · Oct. 6, 2022, 10:33 a.m.
diff --git a/reference/string/basic_string/length.md b/reference/string/basic_string/length.md index 8984f5279..830178384 100644 --- a/reference/string/basic_string/length.md +++ b/reference/string/basic_string/length.md @@ -5,8 +5,9 @@ * function[meta id-type] ```cpp -size_type length() const; // C++03 -size_type length() const noexcept; // C++11 +size_type length() const; // (1) C++03 +size_type length() const noexcept; // (1) C++11 +constexpr size_typ...