xo-indentlog: xo::print::quoted -> quot, avoiding std::quoted

This commit is contained in:
Roland Conybeare 2024-05-01 22:31:27 -04:00
commit ea7d79f95c
4 changed files with 203 additions and 65 deletions

View file

@ -135,12 +135,12 @@ namespace xo {
* - std::string const & passed to quoted_impl ctor
*/
template<typename T>
auto quoted(T && x) {
auto quot(T && x) {
return quoted_impl(false /*unq_flag*/, std::forward<T>(x));
}
inline auto qcstr(char const * x) {
return quoted(x);
return quot(x);
} /*qcstr*/
template<typename T>