Difference between revisions of "cpp/symbol index/string view literals"
From cppreference.com
< cpp | symbol index
m (langlinks) |
m (fmt) |
||
Line 3: | Line 3: | ||
− | This page tries to list all the symbols that are available from the ''Standard Library'' in the namespace {{ | + | This page tries to list all the symbols that are available from the ''Standard Library'' in the namespace {{c|std::literals::string_view_literals}}. The symbols are written as follows: |
*Function names with {{tt|()}}. | *Function names with {{tt|()}}. | ||
*Templates with {{tt|<>}}. | *Templates with {{tt|<>}}. | ||
===Notes=== | ===Notes=== | ||
− | These operators are declared in the namespace {{ | + | These operators are declared in the namespace {{c|std::literals::string_view_literals}}, where both {{tt|literals}} and {{tt|string_view_literals}} are [[cpp/language/namespace#Inline namespaces|inline namespaces]]. Access to these operators can be gained with {{c|using namespace std::literals}}, {{c|using namespace std::string_view_literals}}, and {{c|using namespace std::literals::string_view_literals}}. |
− | ==<blockquote> | + | ==<blockquote>{{tt|[[#S|S]]}}</blockquote>== |
<br/> | <br/> | ||
===S=== | ===S=== | ||
− | {{ltt|cpp/string/basic_string_view/operator""sv | sv}} {{mark since c++17}} <br/> | + | {{ltt|cpp/string/basic_string_view/operator""sv|sv}} {{mark since c++17}} <br/> |
{{langlinks|de|es|ja|ru|zh}} | {{langlinks|de|es|ja|ru|zh}} |
Revision as of 06:24, 6 December 2022
This page tries to list all the symbols that are available from the Standard Library in the namespace std::literals::string_view_literals. The symbols are written as follows:
- Function names with
()
. - Templates with
<>
.
Notes
These operators are declared in the namespace std::literals::string_view_literals, where both literals
and string_view_literals
are inline namespaces. Access to these operators can be gained with using namespace std::literals, using namespace std::string_view_literals, and using namespace std::literals::string_view_literals.
S
S
S
sv (since C++17)