1
2// (C) Copyright Edward Diener 2011
3// Use, modification and distribution are subject to the Boost Software License,
4// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5// http://www.boost.org/LICENSE_1_0.txt).
6
7#include "test_has_type.hpp"
8#include <boost/mpl/placeholders.hpp>
9#include <boost/type_traits/is_same.hpp>
10using namespace boost::mpl::placeholders;
11
12int main()
13 {
14
15 // Typedef type does not exist ( BType is a nested type )
16
17 BOOST_TTI_HAS_TYPE_GEN(BType)<AType,boost::is_same<BType,_> > aVar;
18
19 return 0;
20
21 }
22

source code of boost/libs/tti/test/test_has_type_ct_fail4.cpp