unimplement accidentally implemented wide string overloads of describe_argument

This commit is contained in:
mjk 2021-03-18 15:13:46 +00:00 committed by LAGonauta
parent 426f997f9b
commit fd035084de

View file

@ -60,9 +60,9 @@ template<typename OStream>
inline auto &describe_argument(OStream &s, const char * const a) { return s << std::quoted(a); }
// TODO: overload for const GString *
template<typename OStream>
inline auto &describe_argument(OStream &s, std::wstring_view const a) { return s << std::quoted(a); }
inline auto &describe_argument(OStream &s, std::wstring_view const a) = delete; // not implemented
template<typename OStream>
inline auto &describe_argument(OStream &s, const std::wstring & a) { return s << std::quoted(a); }
inline auto &describe_argument(OStream &s, const std::wstring & a) = delete; // not implemented
template<typename OStream>
inline auto &describe_argument(OStream &s, const wchar_t * const a) = delete; // not implemented
// TODO: handle wide strings maybe