Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:43:20

0001 // Copyright (C) 2003, 2008 Fernando Luis Cacciola Carballal.
0002 // Copyright (C) 2016 Andrzej Krzemienski
0003 //
0004 // Use, modification, and distribution is subject to the Boost Software
0005 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0006 // http://www.boost.org/LICENSE_1_0.txt)
0007 //
0008 // See http://www.boost.org/libs/optional for documentation.
0009 //
0010 // You are welcome to contact the author at:
0011 //  fernando_cacciola@hotmail.com
0012 //
0013 // Revisions:
0014 // 10 May 2008 (added swap related forward declaration) Niels Dekker
0015 //
0016 #ifndef BOOST_OPTIONAL_OPTIONAL_FWD_FLC_19NOV2002_HPP
0017 #define BOOST_OPTIONAL_OPTIONAL_FWD_FLC_19NOV2002_HPP
0018 
0019 #include <boost/config.hpp>
0020 
0021 namespace boost {
0022 
0023 template<class T> class optional ;
0024 
0025 // This forward is needed to refer to namespace scope swap from the member swap
0026 template<class T> void swap ( optional<T>& , optional<T>& ) ;
0027 
0028 template<class T> struct optional_swap_should_use_default_constructor ;
0029 
0030 #ifndef BOOST_OPTIONAL_CONFIG_DONT_SPECIALIZE_OPTIONAL_REFS
0031 
0032 template<class T> class optional<T&> ;
0033 
0034 template<class T> void swap ( optional<T&>& , optional<T&>& ) BOOST_NOEXCEPT;
0035 
0036 #endif
0037 
0038 } // namespace boost
0039 
0040 #endif
0041