Test MultiIndex only with C++11 support.

This commit is contained in:
Ion Gaztañaga
2024-09-15 00:18:41 +02:00
parent 9733379414
commit 5ca730e07a

View File

@@ -9,6 +9,7 @@
//////////////////////////////////////////////////////////////////////////////
#include <boost/interprocess/detail/workaround.hpp>
#if BOOST_CXX_VERSION >= 201103L
//[doc_multi_index
#include <boost/interprocess/managed_shared_memory.hpp>
#include <boost/interprocess/allocators/allocator.hpp>
@@ -99,3 +100,11 @@ int main ()
}
//]
#else ////#if BOOST_CXX_VERSION >= 201103L
int main()
{
return 0;
}
#endif //#if BOOST_CXX_VERSION >= 201103L