mirror of
https://github.com/boostorg/tti.git
synced 2026-01-26 07:02:14 +00:00
20 lines
417 B
C++
20 lines
417 B
C++
#include "TestMFHasTypeCheckTypedef.hpp"
|
|
#include <boost/mpl/assert.hpp>
|
|
|
|
int main()
|
|
{
|
|
|
|
// NoOtherType does not exist at all
|
|
|
|
BOOST_MPL_ASSERT((tti::mf_has_type
|
|
<
|
|
tti::has_type_NoOtherType,
|
|
boost::mpl::identity<AnotherType>,
|
|
boost::mpl::identity<float>
|
|
>
|
|
));
|
|
|
|
return 0;
|
|
|
|
}
|