none.hpp 760 B

1234567891011121314151617181920212223242526272829
  1. // Copyright (C) 2003, Fernando Luis Cacciola Carballal.
  2. //
  3. // Distributed under the Boost Software License, Version 1.0.
  4. // (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. #ifndef BOOST_NONE_17SEP2003_HPP
  13. #define BOOST_NONE_17SEP2003_HPP
  14. #include "boost/none_t.hpp"
  15. // NOTE: Borland users have to include this header outside any precompiled headers
  16. // (bcc<=5.64 cannot include instance data in a precompiled header)
  17. // -- * To be verified, now that there's no unnamed namespace
  18. namespace boost {
  19. none_t const none = ((none_t)0) ;
  20. } // namespace boost
  21. #endif