C++ gems: Difference between revisions
Jump to navigation
Jump to search
std::quote |
No edit summary |
||
Line 6: | Line 6: | ||
/*unspecified*/ quoted( std::basic_string_view<CharT, Traits> s, | /*unspecified*/ quoted( std::basic_string_view<CharT, Traits> s, | ||
CharT delim = CharT('"'), CharT escape = CharT('\\') ); | CharT delim = CharT('"'), CharT escape = CharT('\\') ); | ||
{{Page lang|en}} |
Revision as of 03:17, 26 August 2024
String (un)quoting in standard library
See cppreference.com: std::quoted
#include <iomanip> template< class CharT, class Traits> /*unspecified*/ quoted( std::basic_string_view<CharT, Traits> s, CharT delim = CharT('"'), CharT escape = CharT('\\') );