mirror of
https://github.com/boostorg/tti.git
synced 2026-01-26 07:02:14 +00:00
20 lines
428 B
C++
20 lines
428 B
C++
#include "TestMFHasTypeCheckTypedef.hpp"
|
|
#include <boost/mpl/assert.hpp>
|
|
|
|
int main()
|
|
{
|
|
|
|
// Wrong enclosing type
|
|
|
|
BOOST_MPL_ASSERT((tti::mf_has_type_check_typedef
|
|
<
|
|
tti::has_type_check_typedef_BType,
|
|
boost::mpl::identity<AnotherType>,
|
|
tti::member_type_BType<AType>
|
|
>
|
|
));
|
|
|
|
return 0;
|
|
|
|
}
|