2
0
mirror of https://github.com/boostorg/tti.git synced 2026-01-26 07:02:14 +00:00
Files
tti/test/TestMFHasMemberDataFail.cpp
Edward Diener b21c8012ff Added tests
[SVN r67368]
2010-12-20 17:13:19 +00:00

21 lines
461 B
C++

#include "TestMFHasMemberData.hpp"
#include <boost/mpl/assert.hpp>
#include <boost/mpl/identity.hpp>
int main()
{
// someDataMember does not exist at all
BOOST_MPL_ASSERT((tti::mf_has_member_data
<
tti::has_member_someDataMember,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<short>
>
));
return 0;
}