// Copyright Aleksey Gurtovoy 2001-2004 // // Distributed under the Boost Software License,Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/mpl for documentation. // $Id$ // $Date$ // $Revision$ #include #include #include #include #include #include #include #include #include #include #include MPL_TEST_CASE() { typedef mpl::list types; typedef mpl::list floats; MPL_ASSERT(( equal< mpl::filter_view< types,boost::is_float<_> >::type,floats > )); typedef mpl::max_element< mpl::transform_view< mpl::filter_view< types,boost::is_float<_> > , mpl::sizeof_<_> > >::type iter; MPL_ASSERT((is_same::type, long double>)); }