From 6ed68269a8ad8f2b560e6e900bd0fb4012069fdd Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Thu, 31 Mar 2011 19:47:42 +0000 Subject: [PATCH] Merge [44825] and [45264] from the trunk. [SVN r70796] --- include/boost/optional/optional_fwd.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/boost/optional/optional_fwd.hpp b/include/boost/optional/optional_fwd.hpp index dcde233..388cc1c 100644 --- a/include/boost/optional/optional_fwd.hpp +++ b/include/boost/optional/optional_fwd.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2003, Fernando Luis Cacciola Carballal. +// Copyright (C) 2003, 2008 Fernando Luis Cacciola Carballal. // // Use, modification, and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at @@ -9,6 +9,9 @@ // You are welcome to contact the author at: // fernando_cacciola@hotmail.com // +// Revisions: +// 10 May 2008 (added swap related forward declaration) Niels Dekker +// #ifndef BOOST_OPTIONAL_OPTIONAL_FWD_FLC_19NOV2002_HPP #define BOOST_OPTIONAL_OPTIONAL_FWD_FLC_19NOV2002_HPP @@ -16,6 +19,10 @@ namespace boost { template class optional ; +template void swap ( optional& , optional& ) ; + +template struct optional_swap_should_use_default_constructor ; + } // namespace boost #endif