mirror of
https://github.com/boostorg/container.git
synced 2026-01-19 16:12:16 +00:00
Protect iwth BOOST_CXX_VERSION >= 201103L as Boost.Iterator does not support C++03
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -67,8 +67,6 @@ int main()
|
||||
|
||||
#else
|
||||
|
||||
#include <boost/container/vector.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user