inline universal_path to_universal_path(filesystem::basic_path< StringT, TraitsT > const& p) { universal_path::string_type s; boost::log::aux::code_convert(p.string(), s); return universal_path(s); }
inline std::string convert_to_string( filesystem::basic_path<String,T> const& path ) { return convert_to_string( path.string() ); }