optional_fwd.hpp 819 B

1234567891011121314151617181920212223242526272829
  1. // Copyright (C) 2003, 2008 Fernando Luis Cacciola Carballal.
  2. //
  3. // Use, modification, and distribution is subject to the Boost Software
  4. // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  5. // http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. // See http://www.boost.org/libs/optional for documentation.
  8. //
  9. // You are welcome to contact the author at:
  10. // fernando_cacciola@hotmail.com
  11. //
  12. // Revisions:
  13. // 10 May 2008 (added swap related forward declaration) Niels Dekker
  14. //
  15. #ifndef BOOST_OPTIONAL_OPTIONAL_FWD_FLC_19NOV2002_HPP
  16. #define BOOST_OPTIONAL_OPTIONAL_FWD_FLC_19NOV2002_HPP
  17. namespace boost {
  18. template<class T> class optional ;
  19. template<class T> void swap ( optional<T>& , optional<T>& ) ;
  20. template<class T> struct optional_swap_should_use_default_constructor ;
  21. } // namespace boost
  22. #endif