post-merge bug fixes

[SVN r24893]
This commit is contained in:
Aleksey Gurtovoy
2004-09-03 16:02:24 +00:00
parent fc5dc3211f
commit f08838774e
2 changed files with 20 additions and 7 deletions
+11
View File
@@ -62,11 +62,15 @@
/**/
namespace { namespace test {
BOOST_PP_REPEAT(
BOOST_MPL_LIMIT_METAFUNCTION_ARITY
, APPLY_FUNC_DEF
, unused
)
struct g0 { struct apply { typedef char type; }; };
}}
#define APPLY_0_TEST(i, apply_) \
@@ -107,4 +111,11 @@ MPL_TEST_CASE()
, APPLY_TEST
, unused
)
#if !defined(BOOST_MPL_CFG_NO_HAS_APPLY)
{
typedef apply_wrap0<test::g0>::type t;
MPL_ASSERT(( boost::is_same<t, char> ));
}
#endif
}