File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change 13152
13152
and call arbitrary callable objects\iref {func.def }, given a call
13153
13153
signature\iref {func.def }.
13154
13154
13155
- \pnum
13156
- \indextext {callable type}%
13157
- A callable type\iref {func.def } \tcode {F}
13158
- is \defn {Lvalue-Callable} for argument
13159
- types \tcode {ArgTypes}
13160
- and return type \tcode {R}
13161
- if the expression
13162
- \tcode {\placeholdernc {INVOKE}<R>(declval<F\& >(), declval<ArgTypes>()...)},
13163
- considered as an unevaluated operand\iref {term.unevaluated.operand }, is
13164
- well-formed\iref {func.require }.
13165
-
13166
13155
\pnum
13167
13156
The \tcode {function} class template is a call
13168
13157
wrapper\iref {func.def } whose call signature\iref {func.def }
13260
13249
\item
13261
13250
\tcode {is_same_v<remove_cvref_t<F>, function>} is \tcode {false}, and
13262
13251
\item
13263
- \tcode {FD} is Lvalue-Callable\iref {func.wrap.func } for argument types
13264
- \tcode {ArgTypes...} and return type \tcode {R}.
13252
+ \tcode {is_invocable_r_v<R, FD\& , ArgTypes...>} is \tcode {true}.
13265
13253
\end {itemize }
13266
13254
13267
13255
\pnum
13404
13392
\begin {itemdescr }
13405
13393
\pnum
13406
13394
\constraints
13407
- \tcode {decay_t<F>} is Lvalue-Callable\iref {func.wrap.func }
13408
- for argument types \tcode {ArgTypes...} and return type \tcode {R}.
13395
+ \tcode {is_invocable_r_v<R, decay_t<F>\& , ArgTypes...>} is \tcode {true}.
13409
13396
13410
13397
\pnum
13411
13398
\effects
You can’t perform that action at this time.
0 commit comments