]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | |
2 | // Copyright (C) 2009-2012 Lorenzo Caminiti | |
3 | // Distributed under the Boost Software License, Version 1.0 | |
4 | // (see accompanying file LICENSE_1_0.txt or a copy at | |
5 | // http://www.boost.org/LICENSE_1_0.txt) | |
6 | // Home at http://www.boost.org/libs/local_function | |
7 | ||
8 | #ifndef BOOST_LOCAL_FUNCTION_AUX_TYPEOF_HPP_ | |
9 | #define BOOST_LOCAL_FUNCTION_AUX_TYPEOF_HPP_ | |
10 | ||
11 | #include <boost/local_function/aux_/symbol.hpp> | |
12 | ||
13 | // PUBLIC // | |
14 | ||
15 | // Actual type-name for specified symbol name. | |
16 | #define BOOST_LOCAL_FUNCTION_AUX_TYPEOF_TYPE(name) \ | |
17 | /* cannot prefix in front of name because it could start with non */ \ | |
18 | /* alphanumeric symbols (e.g., & for binding by reference) */ \ | |
19 | BOOST_LOCAL_FUNCTION_AUX_SYMBOL_POSTFIX( (name)(typeof_type) ) | |
20 | ||
21 | #endif // #include guard | |
22 |