Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14960,7 +14960,7 @@
template<class... T>
static constexpr bool @\exposidnc{is-invocable-using}@ = @\seebelownc@; // \expos

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

Expand All @@ -14976,15 +14976,15 @@

\pnum
An object of class
\tcode{function_ref<R(Args...) \cv{} noexcept(\placeholder{noex})>}
\tcode{function_ref<R(ArgTypes...) \cv{} noexcept(\placeholder{noex})>}
stores a pointer to function \exposid{thunk-ptr} and
an object \exposid{bound-entity}.
\exposid{bound-entity} has
an unspecified trivially copyable type \exposid{BoundEntityType}, that
an unspecified trivially copyable type \linebreak{} \exposid{BoundEntityType}, that

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way, please don't add forced line breaks like this.

Suggested change
an unspecified trivially copyable type \linebreak{} \exposid{BoundEntityType}, that
an unspecified trivially copyable type \exposid{Bound\-Entity\-Type}, that

... would presumably work, assuming you were coping with overful hboxes due to BoundEntityType going off the side of the page.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me at least split off the bug fix from the discretionary tweaks then.

models \libconcept{copyable} and
is capable of storing a pointer to object value or a pointer to function value.
The type of \exposid{thunk-ptr} is
\tcode{R(*)(\exposidnc{BoundEntityType}, Args\&\&...) noexcept(\placeholder{noex})}.
\tcode{R(*)(\exposidnc{BoundEntityType}, ArgTypes\&\&...) noexcept(\placeholder{noex})}.

\pnum
Each specialization of \tcode{function_ref} is
Expand All @@ -14995,7 +14995,7 @@
Within \ref{func.wrap.ref},
\tcode{\placeholder{call-args}} is an argument pack with elements such that
\tcode{decltype((\placeholder{call-args}\linebreak{}))...} denote
\tcode{Args\&\&...} respectively.
\tcode{ArgTypes\&\&...} respectively.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jwakely: this change is a bug fix, too, right? Here we're again referring to the class template synopsis.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes, that's right

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!


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

Expand Down