mirror of
https://github.com/boostorg/tti.git
synced 2026-01-25 06:42:25 +00:00
21 lines
397 B
C++
21 lines
397 B
C++
#include "TestMFHasTemplate.hpp"
|
|
#include <boost/mpl/assert.hpp>
|
|
|
|
int main()
|
|
{
|
|
|
|
using namespace boost::mpl::placeholders;
|
|
|
|
// Wrong enclosing type
|
|
|
|
BOOST_MPL_ASSERT((tti::mf_has_template
|
|
<
|
|
tti::HaveMStr<_>,
|
|
tti::member_type_AStructType<AnotherType>
|
|
>
|
|
));
|
|
|
|
return 0;
|
|
|
|
}
|