Why aren't there constructors accepting an error_code in
boost::fs::exception?

I have some code which needs to throw an exception if
!is_directory(some_path).  I'd like to throw a not_a_directory
filesystem exception (or one derived therefrom).

Howto?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to