Skip to content

Commit 328f93c

Browse files
committed
More docs
1 parent d17ca80 commit 328f93c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/docs/LanguageExtensions.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,6 +1972,8 @@ producing an object with the following member functions
19721972
constexpr size_t size() const;
19731973

19741974
such as ``std::string``, ``std::string_view``, ``std::vector<char>``.
1975+
This mechanism follow the same rules as ``static_assert`` messages in
1976+
C++26, see ``[dcl.pre]/p12``.
19751977

19761978
Query for this feature with ``__has_extension(gnu_asm_constexpr_strings)``.
19771979

0 commit comments

Comments
 (0)