none_t.hpp 632 B

12345678910111213141516171819202122232425262728
  1. // Copyright (C) 2003, 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/lib/optional for documentation.
  8. //
  9. // You are welcome to contact the author at:
  10. // fernando_cacciola@hotmail.com
  11. //
  12. #ifndef BOOST_DETAIL_NONE_T_17SEP2003_HPP
  13. #define BOOST_DETAIL_NONE_T_17SEP2003_HPP
  14. namespace boost {
  15. namespace detail {
  16. struct none_helper{};
  17. typedef int none_helper::*none_t ;
  18. } // namespace detail
  19. } // namespace boost
  20. #endif