1 | #ifndef BOOST_BIND_TYPEOF_HPP_INCLUDED
|
---|
2 | #define BOOST_BIND_TYPEOF_HPP_INCLUDED
|
---|
3 |
|
---|
4 | //
|
---|
5 | // typeof.hpp - type and template registrations so that bind can be used with the Boost.Typeof library.
|
---|
6 | //
|
---|
7 | // Copyright (c) 2009 Steven Watanabe
|
---|
8 | // Copyright (c) 2009 Gevorg Voskanyan
|
---|
9 | //
|
---|
10 | // Distributed under the Boost Software License, Version 1.0. (See
|
---|
11 | // accompanying file LICENSE_1_0.txt or copy at
|
---|
12 | // http://www.boost.org/LICENSE_1_0.txt)
|
---|
13 | //
|
---|
14 |
|
---|
15 | #include <boost/typeof/typeof.hpp>
|
---|
16 | #include <boost/bind.hpp>
|
---|
17 |
|
---|
18 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
|
---|
19 |
|
---|
20 | // bind_t
|
---|
21 | BOOST_TYPEOF_REGISTER_TEMPLATE( boost::_bi::bind_t, 3 );
|
---|
22 |
|
---|
23 | // value
|
---|
24 | BOOST_TYPEOF_REGISTER_TEMPLATE( boost::_bi::value, 1 );
|
---|
25 |
|
---|
26 | // arg
|
---|
27 | BOOST_TYPEOF_REGISTER_TEMPLATE( boost::arg, (int) );
|
---|
28 |
|
---|
29 | // listN
|
---|
30 | BOOST_TYPEOF_REGISTER_TYPE( boost::_bi::list0 );
|
---|
31 | BOOST_TYPEOF_REGISTER_TEMPLATE( boost::_bi::list1, 1 );
|
---|
32 | BOOST_TYPEOF_REGISTER_TEMPLATE( boost::_bi::list2, 2 );
|
---|
33 | BOOST_TYPEOF_REGISTER_TEMPLATE( boost::_bi::list3, 3 );
|
---|
34 | BOOST_TYPEOF_REGISTER_TEMPLATE( boost::_bi::list4, 4 );
|
---|
35 | BOOST_TYPEOF_REGISTER_TEMPLATE( boost::_bi::list5, 5 );
|
---|
36 | BOOST_TYPEOF_REGISTER_TEMPLATE( boost::_bi::list6, 6 );
|
---|
37 | BOOST_TYPEOF_REGISTER_TEMPLATE( boost::_bi::list7, 7 );
|
---|
38 | BOOST_TYPEOF_REGISTER_TEMPLATE( boost::_bi::list8, 8 );
|
---|
39 | BOOST_TYPEOF_REGISTER_TEMPLATE( boost::_bi::list9, 9 );
|
---|
40 |
|
---|
41 | #endif // #ifndef BOOST_BIND_TYPEOF_HPP_INCLUDED
|
---|