Update of /cvsroot/boost/boost/libs/tr1/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29289/libs/tr1/test

Modified Files:
        test_bind_tricky.cpp 
Log Message:
boost::bind placeholders can't always be passed to T const&

Index: test_bind_tricky.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/tr1/test/test_bind_tricky.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- test_bind_tricky.cpp        12 Nov 2005 17:34:36 -0000      1.2
+++ test_bind_tricky.cpp        7 Jul 2006 19:25:00 -0000       1.3
@@ -13,12 +13,12 @@
 #include "verify_return.hpp"
 
 template <class T>
-void check_placeholder(const T&)
+void check_placeholder( T )
 {
    T t; 
    T t2(t);
    (void)t2;
-   BOOST_STATIC_ASSERT(::std::tr1::is_placeholder<T>::value);
+   BOOST_STATIC_ASSERT( ::std::tr1::is_placeholder<T>::value > 0 );
 }
 
 template <class Binder, class R>


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to