From 35775fc553dc48f500e96575a4863dda580dbe3a Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 16 Nov 2002 19:06:37 +0000 Subject: [PATCH] Make the test fail on MSVC [SVN r16284] --- test/count_if.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/count_if.cpp b/test/count_if.cpp index d629c80..b864d60 100644 --- a/test/count_if.cpp +++ b/test/count_if.cpp @@ -28,11 +28,11 @@ namespace mpl = boost::mpl; int main() { using namespace mpl::placeholder; - typedef mpl::list types; + typedef mpl::list types; typedef mpl::list_c values; BOOST_STATIC_ASSERT((mpl::count_if< types, boost::is_float<_> >::type::value == 1)); - BOOST_STATIC_ASSERT((mpl::count_if< types, boost::is_same<_,char> >::type::value == 2)); + BOOST_STATIC_ASSERT((mpl::count_if< types, boost::is_same<_,char&> >::type::value == 2)); BOOST_STATIC_ASSERT((mpl::count_if< types, boost::is_same<_,void> >::type::value == 0)); BOOST_STATIC_ASSERT((mpl::count_if< values, mpl::lt<5> >::type::value == 4));