mirror of
https://github.com/boostorg/tti.git
synced 2026-01-25 18:52:17 +00:00
20 lines
432 B
C++
20 lines
432 B
C++
#include "TestMFHasMemberData.hpp"
|
|
#include <boost/mpl/assert.hpp>
|
|
|
|
int main()
|
|
{
|
|
|
|
// someDataMember does not exist at all
|
|
|
|
BOOST_MPL_ASSERT((tti::mf_has_member_data
|
|
<
|
|
tti::has_member_data_someDataMember,
|
|
boost::mpl::identity<AnotherType>,
|
|
boost::mpl::identity<short>
|
|
>
|
|
));
|
|
|
|
return 0;
|
|
|
|
}
|