summaryrefslogtreecommitdiff
path: root/devel/boost-libs/files/patch-a6b17d900155d2a04f54ad18fd89197001f231ab
blob: d50e9add3679c2a6581477cdbd5dff7abba4e682 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- boost/bind/arg.hpp.orig	2007-11-25 18:07:19 UTC
+++ boost/bind/arg.hpp
@@ -33,8 +33,7 @@ template< int I > struct arg
 
     template< class T > arg( T const & /* t */ )
     {
-        // static assert I == is_placeholder<T>::value
-        typedef char T_must_be_placeholder[ I == is_placeholder<T>::value? 1: -1 ];
+        BOOST_STATIC_ASSERT( I == is_placeholder<T>::value );
     }
 };