filesystem path constructor fails when passing in std::string (Visual studio project)

Hi,
The simple code:
std::string str("d:\\New folder");
bfs::path base(str);
Is causing an illegal memory access giving the following stack trace:
msvcp90d.dll!std::basic_string
app.exe!CDpiExport::configure() Line 188 + 0xe bytes C++
The project is set to use muti byte character support and this hasn't changed in a while I'm sure this was working before and I've reviewed the changes to the project file and I can't see anything that might have broken it. Any suggestions gratefully received. Thanks, M
participants (1)
-
Sillence, Martin (GE Oil & Gas)