mirror of
https://github.com/boostorg/mpl.git
synced 2026-01-26 08:52:21 +01:00
add workaround for sun
[SVN r52542]
This commit is contained in:
@@ -293,6 +293,9 @@ int main()
|
||||
BOOST_MPL_ASSERT((boost::is_same<t7, mpl::string<'aaaa','aaaa','aaaX'> >));
|
||||
}
|
||||
|
||||
BOOST_MPL_ASSERT((mpl::empty<mpl::string<> >));
|
||||
BOOST_MPL_ASSERT_NOT((mpl::empty<mpl::string<'hi!'> >));
|
||||
|
||||
// testing push_front
|
||||
{
|
||||
typedef mpl::push_front<mpl::string<>, mpl::char_<'a'> >::type t1;
|
||||
@@ -343,9 +346,6 @@ int main()
|
||||
mpl::for_each<mpl::string<'Hell','o wo','rld!'> >(push_char(result));
|
||||
BOOST_TEST("Hello world!" == result);
|
||||
|
||||
BOOST_MPL_ASSERT((mpl::empty<mpl::string<> >));
|
||||
BOOST_MPL_ASSERT_NOT((mpl::empty<mpl::string<'hi!'> >));
|
||||
|
||||
BOOST_TEST(('h' == mpl::front<mpl::string<'hi!'> >::type()));
|
||||
BOOST_TEST(('!' == mpl::back<mpl::string<'hi!'> >::type()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user