2
0
mirror of https://github.com/boostorg/tti.git synced 2026-01-25 06:42:25 +00:00
Files
tti/test/TestVMMFHasTemplateCheckParamsFail3.cpp
Edward Diener 793458e3ee Updated functionality and tests
[SVN r68669]
2011-02-06 16:29:00 +00:00

25 lines
512 B
C++

#include "TestVMMFHasTemplateCheckParams.hpp"
#include <boost/mpl/assert.hpp>
int main()
{
#if !defined(BOOST_NO_VARIADIC_MACROS)
using namespace boost::mpl::placeholders;
// Wrong template types
BOOST_MPL_ASSERT((tti::mf_has_template_check_params
<
tti::WrongParametersForMP<_>,
boost::mpl::identity<AnotherType>
>
));
#endif //!defined(BOOST_NO_VARIADIC_MACROS)
return 0;
}