id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 9219,path::codecvt() is called when not required,Andrey Semashev,Beman Dawes,"Some path functions (including assignment and constructor) are templated so that they can be called with arguments other than path. The templated functions are not supposed to be used when the argument is compatible with the native path string type. However, the templated functions are called anyway because the is_pathable trait is overly permissive (it returns true even for compatible types). This happens because the templated functions turn out to be more preferable than non-templated ones. For example: {{{ path p = getcwd(); // calls path::path(char*) instead of non-templated path::path(const char*) }}} The above example is actually what happens in filesystem::current_path(), but obviously is not limited by that. Given the other problems with the global locale (#8642, for example) this makes Boost.Filesystem unusable for Boost.Log because there is no way to use it without requiring codecvt() to be called at some point. ",Bugs,closed,Boost 1.57.0,filesystem,Boost 1.54.0,Problem,fixed,,raad@…