Skip to content

P3641R0 Rename std::observable to std::observable_checkpoint #7974

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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/intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@
Certain events in the execution of a program
are termed \defnadj{observable}{checkpoints}.
\begin{note}
A call to \tcode{std::observable}\iref{utility.undefined}
A call to \tcode{std::observable_checkpoint}\iref{utility.undefined}
is an observable checkpoint,
as are certain parts of
the evaluation of contract assertions\iref{basic.contract}.
Expand Down
1 change: 1 addition & 0 deletions source/support.tex
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,7 @@
// \libheader{string}, \libheader{unordered_map}, \libheader{unordered_set}, \libheader{vector}
#define @\defnlibxname{cpp_lib_not_fn}@ 202306L // freestanding, also in \libheader{functional}
#define @\defnlibxname{cpp_lib_null_iterators}@ 201304L // freestanding, also in \libheader{iterator}
#define @\defnlibxname{cpp_lib_observable_checkpoint}@ 202506L // freestanding, also in \libheader{utility}
#define @\defnlibxname{cpp_lib_optional}@ 202110L // also in \libheader{optional}
#define @\defnlibxname{cpp_lib_optional_range_support}@ 202406L // freestanding, also in \libheader{optional}
#define @\defnlibxname{cpp_lib_out_ptr}@ 202311L // freestanding, also in \libheader{memory}
Expand Down
6 changes: 3 additions & 3 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@

// \ref{utility.undefined}, undefined behavior
[[noreturn]] void unreachable();
void observable() noexcept;
void observable_checkpoint() noexcept;

// \ref{intseq}, compile-time integer sequences%
\indexlibraryglobal{index_sequence}%
Expand Down Expand Up @@ -720,9 +720,9 @@
\end{example}
\end{itemdescr}

\indexlibraryglobal{observable}%
\indexlibraryglobal{observable_checkpoint}%
\begin{itemdecl}
void observable() noexcept;
void observable_checkpoint() noexcept;
\end{itemdecl}

\begin{itemdescr}
Expand Down