Template talk:cpp/filesystem/path/string example

Are you sure this is a good idea to put Microsoft-specific stuff into example? Like _MSC_VER and _wfopen. --Mmatrosov (talk) 12:35, 25 October 2016 (PDT)
 * I am using _wfopen to illustrate the purpose of the native string accessors on fs::path: low-level OS API. I am on the fence about Windows console I/O in the example though: it doesn't help advance the point of this example, but with standard I/O, _wfopen isn't directly usable. Of course, many cpprefernce examples are purposefully written to expose bugs in contemporary compilers (and many bug reports refer to our examples), so maybe it makes sense to drop _setmode --Cubbi (talk) 12:52, 25 October 2016 (PDT)
 * as an extra thought on low-level APIs, perhaps POSIX open(2) could be a more pure counter-example to _wfopen in that #ifdef --Cubbi (talk) 12:57, 25 October 2016 (PDT)