mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Test MultiIndex only with C++11 support.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user