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

22 lines
469 B
C++

#include "TestMFHasMemberFunction.hpp"
#include <boost/mpl/assert.hpp>
int main()
{
using namespace boost::mpl::placeholders;
// Wrong function signature
BOOST_MPL_ASSERT((tti::mf_has_member_function
<
tti::FunctionReturningInt<_,_>,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<short>
>
));
return 0;
}