Protect iwth BOOST_CXX_VERSION >= 201103L as Boost.Iterator does not support C++03

This commit is contained in:
Ion Gaztañaga
2025-08-12 17:59:29 +02:00
parent e680bd79a2
commit 74c06d3a5d
2 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
#include <boost/config.hpp>
#if BOOST_CXX_VERSION >= 201103L
#include <boost/iterator/transform_iterator.hpp>
#include <boost/container/vector.hpp>
#include <boost/container/list.hpp>
@@ -54,3 +58,11 @@ int main()
return boost::report_errors();
}
#else
int main()
{
return 0;
}
#endif

View File

@@ -67,8 +67,6 @@ int main()
#else
#include <boost/container/vector.hpp>
int main()
{
return 0;