2
0
mirror of https://github.com/boostorg/tti.git synced 2026-01-26 07:02:14 +00:00
Files
tti/test/TestMFHasTypeCheckTypedefFail.cpp
Edward Diener 35029182a8 Updated docs and combined has_type
[SVN r68448]
2011-01-26 00:58:45 +00:00

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;
}