From 64e32e651f08e2806c134e231f342749db339d50 Mon Sep 17 00:00:00 2001 From: Fernando Cacciola Date: Tue, 27 Jan 2004 20:08:48 +0000 Subject: [PATCH] Merged fixes from trunk to branch [SVN r22011] --- include/boost/optional.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/optional.hpp b/include/boost/optional.hpp index 69317ad..21d52d8 100644 --- a/include/boost/optional.hpp +++ b/include/boost/optional.hpp @@ -426,7 +426,7 @@ class optional : public optional_detail::optional_base // No-throw (assuming T::~T() doesn't) ~optional() {} -#ifndef BOOST_OPTIONAL_NO_INPLACE_FACTORY_SUPPORT +#if !defined(BOOST_OPTIONAL_NO_INPLACE_FACTORY_SUPPORT) && !defined(BOOST_OPTIONAL_WEAK_OVERLOAD_RESOLUTION) // Assigns from an expression. See corresponding constructor. // Basic Guarantee: If the resolved T ctor throws, this is left UNINITIALIZED template