Talk:cpp/io/manip/quoted

The previous example was way too complicated. It should show what std::quoted is doing: it add or removes quotes. It has nothing to do with pointer comparison, lambda function, ADL or show function which print out depending on which variables was passed. That is highly confusing. This features are absolutly unnecessary to understand std::quoted. The previous example also shows to things at once: default and custom delimiters. I split that in two functions. Code duplication in the new example is not a problem. It is not productive code, it's just an example.

Thomas Huxhorn (talk) 12:46, 27 June 2022 (PDT)