2
0
mirror of https://github.com/boostorg/tti.git synced 2026-01-26 19:12:11 +00:00
Files
tti/test/TestMFHasMemberFunctionFail.cpp
Edward Diener 344360c629 Changes to functionality for version 1.1
[SVN r68610]
2011-02-02 01:44:12 +00:00

26 lines
701 B
C++

#include "TestMFHasMemberFunction.hpp"
#include <boost/mpl/assert.hpp>
int main()
{
// someFunctionMember does not exist at all
BOOST_MPL_ASSERT((tti::mf_has_member_function
<
tti::has_member_function_someFunctionMember,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<short>,
boost::mpl::vector
<
boost::mpl::identity<double>,
boost::mpl::identity<int>,
boost::mpl::identity<long>
>
>
));
return 0;
}