forked from boostorg/utility
Merge various result_of changes.
- [42234] Reduce header dependencies, from Shunsuke Sogame. Fixes #1535 - [45256] result_of implementation that makes use of C++0x decltype, from Daniel Walker. Fixes #862. - [48620] Fix result_of to work with const-qualified function pointers. Fixes #1310 - [60052] Remove use of deprecated config macro in result_of. [SVN r60289]
This commit is contained in:
1 parent
a47dce770c
commit
b4dee80e61
4 files changed
+194
-16
No files matched your search
+5
-3
@@ -154,11 +154,13 @@ void f() {
|
||||
...,t<em>N</em>)</code>. The implementation permits
|
||||
the type <code>F</code> to be a function pointer,
|
||||
function reference, member function pointer, or class
|
||||
type. When <code>F</code> is a class type with a
|
||||
member type <code>result_type</code>,
|
||||
type.</p> <p>If your compiler does not support
|
||||
<code>decltype</code>, then when <code>F</code> is a
|
||||
class type with a member type <code>result_type</code>,
|
||||
<code>result_of<F(T1, T2, ...,
|
||||
T<em>N</em>)></code> is
|
||||
<code>F::result_type</code>. Otherwise,
|
||||
<code>F::result_type</code>. When <code>F</code>
|
||||
does not contain <code>result_type</code>,
|
||||
<code>result_of<F(T1, T2, ...,
|
||||
T<em>N</em>)></code> is <code>F::result<F(T1,
|
||||
T2, ..., T<em>N</em>)>::type</code> when
|
||||
|
||||
Reference in new issue
Block a user