Conditionally compile allocate_local_shared tests

This commit is contained in:
Glen Fernandes
2017-06-29 13:26:52 -04:00
parent be736e5088
commit 864a0c80dd
16 changed files with 108 additions and 6 deletions

View File

@ -5,6 +5,9 @@ Copyright 2017 Glen Joseph Fernandes
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#include <boost/config.hpp>
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \
!defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
#include <boost/detail/lightweight_test.hpp>
#include <boost/smart_ptr/make_local_shared.hpp>
@ -44,3 +47,9 @@ int main()
}
return boost::report_errors();
}
#else
int main()
{
return 0;
}
#endif