]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // (C) Copyright John Maddock 2005. |
2 | // Use, modification and distribution are subject to the | |
3 | // Boost Software License, Version 1.0. (See accompanying file | |
4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
5 | ||
6 | // See http://www.boost.org/libs/config for most recent version. | |
7 | ||
8 | // MACRO: BOOST_HAS_TR1_RESULT_OF | |
9 | // TITLE: std::tr1::result_of | |
10 | // DESCRIPTION: The std lib has a tr1-conforming result_of template. | |
11 | ||
12 | #include <functional> | |
13 | ||
14 | namespace boost_has_tr1_result_of{ | |
15 | ||
16 | typedef std::tr1::result_of<int*(int)> r; | |
17 | typedef r::type rr; | |
18 | ||
19 | int test() | |
20 | { | |
21 | return 0; | |
22 | } | |
23 | ||
24 | } |