
The Filesystem proposal accepted by the C++ committee's LWG for TR2 includes components for reporting system errors from library functions that depend on operating system API's. There are error_code and system_error classes, four free functions, etc. They will go in a TR2 header named <system_error>. Presumably for Boost it will be called <boost/system_error.hpp> or similar. See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1975.html#Diagnosti... Boost.Filesystem is the first Boost library to use <boost/system_error.hpp>. Chris Kohlhoff is planning to use it in asio, and has suggested improvements that I'll incorporate. Presumably the header will be used by other Boost libraries in the future. What should the roadmap be for moving this header into Boost? Should it be a separate library? Seems smallish for that. Does it need a formal review? A mini-review? Is it OK if I put in CVS now in boost/detail? Opinions? --Beman