2
0
mirror of https://github.com/boostorg/tti.git synced 2026-02-01 21:12:08 +00:00
Files
tti/test/test_mf_has_template_fail3.cpp
2011-08-27 17:09:57 +00:00

28 lines
717 B
C++

// (C) Copyright Edward Diener 2011
// Use, modification and distribution are subject to 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).
#include "test_mf_has_template.hpp"
#include <boost/mpl/assert.hpp>
#include <boost/tti/mf/mf_has_template.hpp>
int main()
{
using namespace boost::mpl::placeholders;
// Too many 'typename' parameters
BOOST_MPL_ASSERT((boost::tti::mf_has_template
<
BOOST_TTI_HAS_TEMPLATE_GEN(SomeMemberTemplate)<_>,
boost::mpl::identity<AnotherType>
>
));
return 0;
}