Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace "of [...] storage duration" with "with [...] storage duration" #7357

Merged
merged 3 commits into from
Mar 21, 2025
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5042,7 +5042,7 @@

\pnum
\begin{note}
For every object of static storage duration,
For every object with static storage duration,
static initialization\iref{basic.start.static} is performed
at program startup before any other initialization takes place.
In some cases, additional initialization is done later.
Expand Down
2 changes: 1 addition & 1 deletion source/future.tex
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@
\begin{itemdescr}
\pnum
The macro expands to a token sequence suitable for constant initialization of
an atomic variable of static storage duration of a type that
an atomic variable with static storage duration of a type that
is initialization-compatible with \tcode{value}.
\begin{note}
This operation possibly needs to initialize locks.
Expand Down
2 changes: 1 addition & 1 deletion source/support.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2128,7 +2128,7 @@

\pnum
\remarks
The program is terminated without executing destructors for objects of automatic,
The program is terminated without executing destructors for objects with automatic,
thread, or static storage duration and without calling functions passed to
\tcode{atexit()}\iref{basic.start.term}.
\indextext{signal-safe!\idxcode{_Exit}}%
Expand Down
8 changes: 4 additions & 4 deletions source/threads.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8815,7 +8815,7 @@
\effects
Transfers ownership of the lock associated with \tcode{lk} into
internal storage and schedules \tcode{cond} to be notified when the current
thread exits, after all objects of thread storage duration associated with
thread exits, after all objects with thread storage duration associated with
the current thread have been destroyed. This notification is equivalent to:
\begin{codeblock}
lk.unlock();
Expand Down Expand Up @@ -10947,7 +10947,7 @@
\effects
Stores the value \tcode{r} in the shared state without making that
state ready immediately. Schedules that state to be made ready when the current
thread exits, after all objects of thread storage duration associated with the
thread exits, after all objects with thread storage duration associated with the
current thread have been destroyed.

\pnum
Expand Down Expand Up @@ -10982,7 +10982,7 @@
\effects
Stores the exception pointer \tcode{p} in the shared state without
making that state ready immediately. Schedules that state to be made ready when
the current thread exits, after all objects of thread storage duration
the current thread exits, after all objects with thread storage duration
associated with the current thread have been destroyed.

\pnum
Expand Down Expand Up @@ -12113,7 +12113,7 @@
\tcode{*this}, otherwise the exception thrown by the task is stored. In either
case, this is done without making that state ready\iref{futures.state} immediately. Schedules
the shared state to be made ready when the current thread exits,
after all objects of thread storage duration associated with the current thread
after all objects with thread storage duration associated with the current thread
have been destroyed.

\pnum
Expand Down