]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/none.hpp
Also display the info about BibTeX databases in the TeX info panel.
[lyx.git] / boost / boost / none.hpp
index 6f6f0a64e1c661063537dc14501f7925385dec6f..e9fc0627fe94789997cd34de32a774399c1a0476 100755 (executable)
@@ -1,43 +1,28 @@
 // Copyright (C) 2003, Fernando Luis Cacciola Carballal.
-// Copyright (C) 2007, Anthony Williams
-// Copyright (C) 2007, Steven Watanabe, Richard Smith
 //
 // Distributed under 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/lib/optional/ for documentation.
+// See http://www.boost.org/libs/optional for documentation.
 //
 // You are welcome to contact the author at:
-// fernando.cacciola@gmail.com
+//  fernando_cacciola@hotmail.com
 //
 #ifndef BOOST_NONE_17SEP2003_HPP
 #define BOOST_NONE_17SEP2003_HPP
 
-namespace boost
-{
-  namespace detail
-  {
-    class none_helper;
-  }
+#include "boost/none_t.hpp"
 
-  inline void none(detail::none_helper);
+// NOTE: Borland users have to include this header outside any precompiled headers
+// (bcc<=5.64 cannot include instance data in a precompiled header)
+//  -- * To be verified, now that there's no unnamed namespace
 
-  namespace detail
-  {
-    class none_helper
-    {
-    private:
-      
-      none_helper( none_helper const& ) {}
-      
-      friend void boost::none(none_helper);
-    };
-  }
+namespace boost {
 
-  typedef void (*none_t)(detail::none_helper);
+none_t const none = (static_cast<none_t>(0)) ;
 
-  inline void none(detail::none_helper) {}
-}
+} // namespace boost
 
 #endif
+