2
0
mirror of https://github.com/boostorg/variant.git synced 2026-01-19 04:42:16 +00:00

Workaround for Oracle C++ compiler

This commit is contained in:
jzmaddock
2015-08-20 13:34:11 +01:00
parent 1de9d246c0
commit c3ee00a45e

View File

@@ -1352,7 +1352,10 @@ public: // structors
destroy_content();
}
variant() BOOST_NOEXCEPT_IF(boost::has_nothrow_constructor<internal_T0>::value)
variant()
#if !(defined(__SUNPRO_CC) && BOOST_WORKAROUND(__SUNPRO_CC, <= 0x5130))
BOOST_NOEXCEPT_IF(boost::has_nothrow_constructor<internal_T0>::value)
#endif
{
#ifdef _MSC_VER
#pragma warning( push )