We recently flipped the switch from v2 to v3 of the boost file system. Now that boost:filesystem::wpath
is no longer a valid type, how do you work with the wide url and boost:iostreams::mapped_file?

With v2 we would
void doSomethingWithMapfile(std::wstring& url)
{
    boost::iostreams::basic_mapped_file_params<boost::filesystem::wpath> attribs;

 

    // initialize attribs, including

   attribs.path = url;

 

   // create our mapped file

   boost::iostreams::mapped_file mapFile(attribs);

   // An then do something with the map file.
}

 

Regards,

Joe