mirror of
https://github.com/boostorg/tti.git
synced 2026-01-26 07:02:14 +00:00
28 lines
779 B
C++
28 lines
779 B
C++
#include "test_mf_has_member_function.hpp"
|
|
#include <boost/mpl/assert.hpp>
|
|
|
|
int main()
|
|
{
|
|
|
|
using namespace boost::mpl::placeholders;
|
|
|
|
// Wrong enclosing type for nested type
|
|
|
|
BOOST_MPL_ASSERT((boost::tti::mf_has_member_function
|
|
<
|
|
boost::tti::has_member_function_sFunction<_,_,_>,
|
|
boost::mpl::identity<AnotherType>,
|
|
boost::tti::member_type_AnIntType<AnotherType>,
|
|
boost::mpl::vector
|
|
<
|
|
boost::mpl::identity<int>,
|
|
boost::mpl::identity<long>,
|
|
boost::mpl::identity<double>
|
|
>
|
|
>
|
|
));
|
|
|
|
return 0;
|
|
|
|
}
|