File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -394,17 +394,17 @@ <h1>Other type transformations</h1>
394
394
395
395
< p >
396
396
The nested typedef < code > invocation_type<Fn(ArgTypes...)>::type</ code > shall be defined as follows.
397
+ If < code > raw_invocation_type<Fn(ArgTypes...)>::type</ code > does not exist, there shall be no member typedef < code > type</ code > .
398
+ Otherwise:
397
399
</ p >
398
400
< ul >
399
- < li > If
400
- < ul >
401
- < li > < code > raw_invocation_type<< wbr /> Fn(ArgTypes...)< wbr /> >::type</ code >
402
- is the function type < code > R(T1, T2, ...)</ code > ,</ li >
403
- < li > < code > Fn</ code > is a pointer to member type, and</ li >
404
- < li > < code > T1</ code > is an rvalue reference,</ li >
405
- </ ul >
406
- then the member typedef < code > type</ code > shall name the function type < code > R(decay<T1>::type, T2, ...)</ code > .</ li >
407
- < li > Otherwise, the member typedef < code > type</ code > shall name < code > raw_invocation_type<< wbr /> Fn(ArgTypes...)< wbr /> >::type</ code > .</ li >
401
+ < li > Let < code > A1, A2,</ code > … denote < code > ArgTypes...</ code > </ li >
402
+ < li > Let < code > R(T1, T2, …)</ code > denote < code > raw_invocation_type_t<Fn(ArgTypes...)></ code > </ li >
403
+ < li >
404
+ Then the member typedef < code > type</ code > shall name the function type < code > R(U1, U2, …)</ code >
405
+ where < code > Ui</ code > is < code > decay_t<Ai></ code > if < code > declval<Ai>()</ code > is an rvalue
406
+ otherwise < code > Ti</ code > .
407
+ </ li >
408
408
</ ul >
409
409
</ cxx-section>
410
410
</ cxx-section>
You can’t perform that action at this time.
0 commit comments