]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | |
2 | // (C) Copyright Tobias Schwinger | |
3 | // | |
4 | // Use modification and distribution are subject to the boost Software License, | |
5 | // Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt). | |
6 | ||
7 | //------------------------------------------------------------------------------ | |
8 | ||
9 | // no include guards, this file is guarded externally | |
10 | ||
11 | // this file has been generated from the master.hpp file in the same directory | |
12 | namespace boost { namespace function_types { | |
13 | namespace detail | |
14 | { | |
15 | template<class Tag, class RefTag> struct selector_bits | |
16 | { | |
17 | BOOST_STATIC_CONSTANT(bits_t, value = ( | |
18 | (::boost::function_types::detail::bits<Tag> ::value & 0x00008000) | |
19 | | (::boost::function_types::detail::bits<RefTag> ::value & 802) | |
20 | )); | |
21 | }; | |
22 | template<bits_t SelectorBits> struct default_cc_tag; | |
23 | template<class Tag, class RefTag> struct retag_default_cc | |
24 | : detail::compound_tag | |
25 | < Tag, detail::default_cc_tag< | |
26 | ::boost::function_types::detail::selector_bits<Tag,RefTag> ::value > > | |
27 | { }; | |
28 | template<bits_t SelectorBits> struct default_cc_tag | |
29 | { | |
30 | typedef null_tag::bits bits; | |
31 | typedef null_tag::mask mask; | |
32 | }; | |
33 | class test_class; | |
34 | typedef constant<0x00ff8000> cc_mask_constant; | |
35 | template< > struct default_cc_tag<33282> | |
36 | { | |
37 | typedef void ( *tester)(); | |
38 | typedef mpl::bitand_<components<tester> ::bits,cc_mask_constant> bits; | |
39 | typedef cc_mask_constant mask; | |
40 | }; | |
41 | template< > struct default_cc_tag<33026> | |
42 | { | |
43 | typedef void ( *tester)( ... ); | |
44 | typedef mpl::bitand_<components<tester> ::bits,cc_mask_constant> bits; | |
45 | typedef cc_mask_constant mask; | |
46 | }; | |
47 | template< > struct default_cc_tag<33312> | |
48 | { | |
49 | typedef void (test_class:: *tester)(); | |
50 | typedef mpl::bitand_<components<tester> ::bits,cc_mask_constant> bits; | |
51 | typedef cc_mask_constant mask; | |
52 | }; | |
53 | template< > struct default_cc_tag<33056> | |
54 | { | |
55 | typedef void (test_class:: *tester)( ... ); | |
56 | typedef mpl::bitand_<components<tester> ::bits,cc_mask_constant> bits; | |
57 | typedef cc_mask_constant mask; | |
58 | }; | |
59 | } } } |