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 1315213152and call arbitrary callable objects\iref {func.def }, given a call
1315313153signature\iref {func.def }.
1315413154
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-
1316613155\pnum
1316713156The \tcode {function} class template is a call
1316813157wrapper\iref {func.def } whose call signature\iref {func.def }
1326013249\item
1326113250\tcode {is_same_v<remove_cvref_t<F>, function>} is \tcode {false}, and
1326213251\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}.
1326513253\end {itemize }
1326613254
1326713255\pnum
1340413392\begin {itemdescr }
1340513393\pnum
1340613394\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}.
1340913396
1341013397\pnum
1341113398\effects
You can’t perform that action at this time.
0 commit comments