C++ gems: Difference between revisions

From Thought dump
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 8: Line 8:


{{Page lang|en}}
{{Page lang|en}}
{{Category:Notes}}
[[Category:C++]]
{{Category:C++}}
[[Category:Notes]]

Latest revision as of 03:19, 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('\\') );