Return an object, containing quoted version of the specified value obtained using the optionally specified delim and escape characters, and that can be inserted to output stream. Return an object, containing quoted version of the specified value obtained using the optionally specified delim and escape characters, and that can be inserted to output stream.
Declared in <bslstl_iomanip.h>
template<
class t_CHAR_TYPE,
class t_CHAR_TRAITS,
class t_ALLOC>
decltype(auto)
quoted(
bsl::basic_string<t_CHAR_TYPE, t_CHAR_TRAITS, t_ALLOC> const& value,
t_CHAR_TYPE delim = t_CHAR_TYPE('"'),
t_CHAR_TYPE escape = t_CHAR_TYPE('\\'));