Can I override the printer for std::string
?
#764
Unanswered
ChrisThrasher
asked this question in
Q&A
Replies: 1 comment
-
Not sure (and this is strange - coming from the author of the library :D ) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on some string encoding code that returns a
std::string
that was converted from astd::wstring
. This often produces astd::string
with unprintable characters. I'd like to print the hex code for these to avoid seeing a question mark in the console when a test fail. However it seems like I can't override the stringification ofstd::string
. Is there any way I can override that?Beta Was this translation helpful? Give feedback.
All reactions