mirror of
https://github.com/boostorg/tti.git
synced 2026-01-26 07:02:14 +00:00
21 lines
451 B
C++
21 lines
451 B
C++
#include "test_mf_has_template.hpp"
|
|
#include <boost/mpl/assert.hpp>
|
|
|
|
int main()
|
|
{
|
|
|
|
using namespace boost::mpl::placeholders;
|
|
|
|
// TemplateNotExist does not exist at all
|
|
|
|
BOOST_MPL_ASSERT((boost::tti::mf_has_template
|
|
<
|
|
BOOST_TTI_HAS_TEMPLATE_GEN(TemplateNotExist)<_>,
|
|
BOOST_TTI_TRAIT_GEN(MT_BType)<AType>
|
|
>
|
|
));
|
|
|
|
return 0;
|
|
|
|
}
|