I am setting a boost::filesystem::path
from an edit field. I notice that the constructor is happy to accept invalid characters for the filename.
How can I use boost::filesystem
to check if the boost::filesystem::path
object represents a valid filename?