|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86135 - trunk/boost/variant
From: antoshkka_at_[hidden]
Date: 2013-10-02 09:13:17
Author: apolukhin
Date: 2013-10-02 09:13:17 EDT (Wed, 02 Oct 2013)
New Revision: 86135
URL: http://svn.boost.org/trac/boost/changeset/86135
Log:
Detect noexcept specification for default constructor of variant (refs #7911)
Text files modified:
trunk/boost/variant/variant.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/variant/variant.hpp
==============================================================================
--- trunk/boost/variant/variant.hpp Wed Oct 2 08:41:09 2013 (r86134)
+++ trunk/boost/variant/variant.hpp 2013-10-02 09:13:17 EDT (Wed, 02 Oct 2013) (r86135)
@@ -1326,7 +1326,7 @@
destroy_content();
}
- variant()
+ variant() BOOST_NOEXCEPT_IF(boost::has_nothrow_constructor<internal_T0>::value)
{
#ifdef _MSC_VER
#pragma warning( push )
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk