mirror of
https://github.com/boostorg/tti.git
synced 2026-01-28 07:42:13 +00:00
22 lines
469 B
C++
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;
|
|
|
|
}
|