Reputation: 66995
How to turn 'const boost::filesystem2::path' into 'const char *'?
Upvotes: 8
Views: 4958
Reputation: 52164
Try using path::string().c_str()
path::string().c_str()
Upvotes: 15