👩💻 Join our community of thousands of amazing developers!
diff --git a/reference/string/basic_string/front.md b/reference/string/basic_string/front.md index 865916098..6428241f5 100644 --- a/reference/string/basic_string/front.md +++ b/reference/string/basic_string/front.md @@ -6,8 +6,11 @@ * cpp11[meta cpp] ```cpp -const charT& front() const; -charT& front(); +const charT& front() const; // (1) C++11 +constexpr const charT& front() const; // (1) C++20 + +charT& front(); // (2) C++11 +constexpr charT& front(); ...