2
0
mirror of https://github.com/boostorg/tti.git synced 2026-01-26 07:02:14 +00:00
Files
tti/test/TestMFHasTemplateCheckParamsFail2.cpp
Edward Diener 9dbb6c128e Added metafunction and updated doc.
[SVN r67598]
2011-01-02 21:20:16 +00:00

23 lines
535 B
C++

#include "TestMFHasTemplateCheckParams.hpp"
#include <boost/mpl/assert.hpp>
int main()
{
// Wrong enclosing type
BOOST_MPL_ASSERT((tti::mf_has_template_check_params
<
tti::has_template_check_params_CTManyParameters,
tti::mf_member_type
<
tti::member_type_CType,
boost::mpl::identity<AType>
>
>
));
return 0;
}