2
0
mirror of https://github.com/boostorg/tti.git synced 2026-01-27 07:22:12 +00:00
Files
tti/test/TestMemberTypeCompile.cpp
2011-01-13 21:27:31 +00:00

20 lines
809 B
C++

#include "TestMemberType.hpp"
#include <boost/mpl/assert.hpp>
#include <boost/mpl/bool.hpp>
int main()
{
BOOST_MPL_ASSERT((boost::mpl::bool_<tti::member_type_AnIntType<AType>::valid>));
BOOST_MPL_ASSERT((boost::mpl::bool_<tti::NameStruct<AType>::valid>));
BOOST_MPL_ASSERT((boost::mpl::bool_<tti::member_type_AnIntTypeReference<AType>::valid>));
BOOST_MPL_ASSERT((boost::mpl::bool_<tti::member_type_BType<AType>::valid>));
BOOST_MPL_ASSERT((boost::mpl::bool_<tti::TheInteger<AType::BType>::valid>));
BOOST_MPL_ASSERT((boost::mpl::bool_<tti::member_type_CType<AType::BType>::valid>));
BOOST_MPL_ASSERT((boost::mpl::bool_<tti::member_type_AnotherIntegerType<AType::BType::CType>::valid>));
BOOST_MPL_ASSERT((boost::mpl::bool_<tti::SomethingElse<AnotherType>::valid>));
return 0;
}