summaryrefslogtreecommitdiff
path: root/boost/vmd/detail/is_type_type.hpp
blob: 0b8ed6cce0123b7235eb534ee301a3c731b52990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

//  (C) Copyright Edward Diener 2011-2015
//  Use, modification and distribution are subject to the Boost Software License,
//  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
//  http://www.boost.org/LICENSE_1_0.txt).

#if !defined(BOOST_VMD_DETAIL_IS_TYPE_TYPE_HPP)
#define BOOST_VMD_DETAIL_IS_TYPE_TYPE_HPP

#include <boost/vmd/detail/type_registration.hpp>
#include <boost/vmd/detail/match_single_identifier.hpp>

/*

    Check to see if the 'id' is BOOST_VMD_TYPE_TYPE
    
    Returns 1 if it is, else 0

*/

#define BOOST_VMD_DETAIL_IS_TYPE_TYPE(id) \
    BOOST_VMD_DETAIL_MATCH_SINGLE_IDENTIFIER(id,BOOST_VMD_TYPE_TYPE) \
/**/

#endif /* BOOST_VMD_DETAIL_IS_TYPE_TYPE_HPP */