|
Boost Users : |
From: Noah Roberts (roberts.noah_at_[hidden])
Date: 2007-06-07 13:35:36
Surya Kiran Gullapalli wrote:
> try
> {
> boost::filesystem::create_directory (path)
> }
> catch (boost::filesystem::basic_filesystem_error <boost::filesystem::path>& e)
> {
> cout << e.what() << endl ;
> }
>
> e.what() returns the string boost::filesystem::create_directory.
That seems really weird. I catch std::exception& and get a more
complete error message. Don't know why that should affect anything.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net