Update of /cvsroot/boost/boost/boost
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22487

Modified Files:
      Tag: RC_1_34_0
        none.hpp 
Log Message:
boost::none implementation fixed for bcc <= 5.6.4

Index: none.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/none.hpp,v
retrieving revision 1.3.6.2
retrieving revision 1.3.6.3
diff -u -d -r1.3.6.2 -r1.3.6.3
--- none.hpp    1 Mar 2007 23:08:33 -0000       1.3.6.2
+++ none.hpp    27 Mar 2007 16:02:57 -0000      1.3.6.3
@@ -12,12 +12,25 @@
 #ifndef BOOST_NONE_17SEP2003_HPP
 #define BOOST_NONE_17SEP2003_HPP
 
+#include <boost/detail/workaround.hpp>
+
 namespace boost {
 
+#if BOOST_WORKAROUND(_BORLANDC_, <= 0x564)
+
+namespace detail { struct none_helper{}; }
+
+typedef int detail::none_helper::*none_t ;
+
+none_t const none = ((none_t)0) ;
+
+#else
+
 enum none_t {none = 0};
 
-} // namespace boost
+#endif
 
+} // namespace boost
 
 #endif
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to