1 // Copyright (C) 2003, Fernando Luis Cacciola Carballal.
\r
2 // Copyright (C) 2007, Anthony Williams
\r
3 // Copyright (C) 2007, Steven Watanabe, Richard Smith
\r
5 // Distributed under the Boost Software License, Version 1.0.
\r
6 // (See accompanying file LICENSE_1_0.txt or copy at
\r
7 // http://www.boost.org/LICENSE_1_0.txt)
\r
9 // See http://www.boost.org/lib/optional/ for documentation.
\r
11 // You are welcome to contact the author at:
\r
12 // fernando.cacciola@gmail.com
\r
14 #ifndef BOOST_NONE_17SEP2003_HPP
\r
15 #define BOOST_NONE_17SEP2003_HPP
\r
24 inline void none(detail::none_helper);
\r
32 none_helper( none_helper const& ) {}
\r
34 friend void boost::none(none_helper);
\r
38 typedef void (*none_t)(detail::none_helper);
\r
40 inline void none(detail::none_helper) {}
\r