Update of /cvsroot/boost/boost/boost/bind
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32179
Modified Files:
placeholders.hpp
Log Message:
Use object placeholders for g++ 4.1+, reported and PCH-tested by Daniel Walker
Index: placeholders.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/bind/placeholders.hpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- placeholders.hpp 6 Oct 2005 19:03:19 -0000 1.14
+++ placeholders.hpp 7 Jul 2007 17:22:26 -0000 1.15
@@ -25,7 +25,7 @@
namespace
{
-#if defined(__BORLANDC__) || defined(__GNUC__)
+#if defined(__BORLANDC__) || defined(__GNUC__) && (__GNUC__ * 100 +
__GNUC_MINOR__ <= 400)
static inline boost::arg<1> _1() { return boost::arg<1>(); }
static inline boost::arg<2> _2() { return boost::arg<2>(); }
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs