summaryrefslogtreecommitdiff
path: root/boost/variant/variant.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/variant/variant.hpp')
-rw-r--r--boost/variant/variant.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/boost/variant/variant.hpp b/boost/variant/variant.hpp
index c4857edb26..fa09eb5641 100644
--- a/boost/variant/variant.hpp
+++ b/boost/variant/variant.hpp
@@ -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 )