mirror of
https://github.com/boostorg/tti.git
synced 2026-01-26 19:12:11 +00:00
26 lines
701 B
C++
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;
|
|
|
|
}
|