summaryrefslogtreecommitdiff
path: root/boost/detail/none_t.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/detail/none_t.hpp')
-rw-r--r--boost/detail/none_t.hpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/boost/detail/none_t.hpp b/boost/detail/none_t.hpp
new file mode 100644
index 0000000000..40805ec0ff
--- /dev/null
+++ b/boost/detail/none_t.hpp
@@ -0,0 +1,28 @@
+// Copyright (C) 2003, Fernando Luis Cacciola Carballal.
+//
+// Use, modification, and distribution is subject to the Boost Software
+// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+//
+// See http://www.boost.org/libs/optional for documentation.
+//
+// You are welcome to contact the author at:
+// fernando_cacciola@hotmail.com
+//
+#ifndef BOOST_DETAIL_NONE_T_17SEP2003_HPP
+#define BOOST_DETAIL_NONE_T_17SEP2003_HPP
+
+namespace boost {
+
+namespace detail {
+
+struct none_helper{};
+
+typedef int none_helper::*none_t ;
+
+} // namespace detail
+
+} // namespace boost
+
+#endif
+