Skip to content

Commit e3ba60b

Browse files
committed
Rename Args to ArgTypes, which is defined
There is no definition of Args in scope for function_ref. Moving the exposition only members out of the descriptive text brought with it the undefined template argument. Rename to ArgTypes.
1 parent 1c398ff commit e3ba60b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/utilities.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14385,7 +14385,7 @@
1438514385
template<class... T>
1438614386
static constexpr bool @\exposidnc{is-invocable-using}@ = @\seebelownc@; // \expos
1438714387

14388-
R (*@\exposidnc{thunk-ptr}@)(@\exposidnc{BoundEntityType}@, Args&&...) noexcept(@\placeholdernc{noex}@); // \expos
14388+
R (*@\exposidnc{thunk-ptr}@)(@\exposidnc{BoundEntityType}@, ArgTypes&&...) noexcept(@\placeholdernc{noex}@); // \expos
1438914389
@\exposidnc{BoundEntityType}@ @\exposidnc{bound-entity}@; // \expos
1439014390
};
1439114391

@@ -14401,15 +14401,15 @@
1440114401

1440214402
\pnum
1440314403
An object of class
14404-
\tcode{function_ref<R(Args...) \cv{} noexcept(\placeholder{noex})>}
14404+
\tcode{function_ref<R(ArgTypes...) \cv{} noexcept(\placeholder{noex})>}
1440514405
stores a pointer to function \exposid{thunk-ptr} and
1440614406
an object \exposid{bound-entity}.
1440714407
\exposid{bound-entity} has
1440814408
an unspecified trivially copyable type \exposid{BoundEntityType}, that
1440914409
models \libconcept{copyable} and
1441014410
is capable of storing a pointer to object value or a pointer to function value.
1441114411
The type of \exposid{thunk-ptr} is
14412-
\tcode{R(*)(\exposidnc{BoundEntityType}, Args\&\&...) noexcept(\placeholder{noex})}.
14412+
\tcode{R(*)(\exposidnc{BoundEntityType}, ArgTypes\&\&...) noexcept(\placeholder{noex})}.
1441314413

1441414414
\pnum
1441514415
Each specialization of \tcode{function_ref} is
@@ -14420,7 +14420,7 @@
1442014420
Within \ref{func.wrap.ref},
1442114421
\tcode{\placeholder{call-args}} is an argument pack with elements such that
1442214422
\tcode{decltype((\placeholder{call-args}\linebreak{}))...} denote
14423-
\tcode{Args\&\&...} respectively.
14423+
\tcode{ArgTypes\&\&...} respectively.
1442414424

1442514425
\rSec4[func.wrap.ref.ctor]{Constructors and assignment operators}
1442614426

0 commit comments

Comments
 (0)