|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-08-01 16:23:07
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk