mirror of
https://github.com/boostorg/tti.git
synced 2026-01-25 18:52:17 +00:00
21 lines
398 B
C++
21 lines
398 B
C++
#include "TestMFHasType.hpp"
|
|
#include <boost/mpl/assert.hpp>
|
|
|
|
int main()
|
|
{
|
|
|
|
using namespace boost::mpl::placeholders;
|
|
|
|
// NoOtherType does not exist at all
|
|
|
|
BOOST_MPL_ASSERT((tti::mf_has_type
|
|
<
|
|
tti::has_type_NoOtherType<_>,
|
|
boost::mpl::identity<AType>
|
|
>
|
|
));
|
|
|
|
return 0;
|
|
|
|
}
|