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