
On Tue, Jan 11, 2011 at 1:14 PM, Jeremiah Willcock <jewillco@osl.iu.edu> wrote:
Will the default version of Boost.Filesystem be v3 in the Boost 1.46.0 release? The current release branch still has v2 as the default (at least in <boost/filesystem.hpp>).
Filesystem trunk has now been merged into the release branch. Lots of server errors, but it looks like the merge did take. So for 1.46.0, V3 will be the default.
Also, if I want to write code that works for both v2 and v3, should I test the BOOST_FILESYSTEM_VERSION macro directly?
A lot of code will work with both versions. You can certainly #if on BOOST_FILESYSTEM_VERSION, but if you are having to do that often, please drop me an email with an example. I'm still open to adding compatibility hacks if they are helpful. Thanks, --Beman