mirror of
https://github.com/boostorg/tti.git
synced 2026-01-25 06:42:25 +00:00
22 lines
454 B
C++
22 lines
454 B
C++
#include "TestMFHasMemberData.hpp"
|
|
#include <boost/mpl/assert.hpp>
|
|
|
|
int main()
|
|
{
|
|
|
|
using namespace boost::mpl::placeholders;
|
|
|
|
// Wrong enclosing type
|
|
|
|
BOOST_MPL_ASSERT((tti::mf_has_member_data
|
|
<
|
|
tti::has_member_data_aMember<_,_>,
|
|
boost::mpl::identity<AType>,
|
|
boost::mpl::identity<bool>
|
|
>
|
|
));
|
|
|
|
return 0;
|
|
|
|
}
|