Skip to content

Commit

Permalink
[depr.c.macros][depr.cerrno][depr.atomics] Update macro indexing for …
Browse files Browse the repository at this point in the history
…known headers
  • Loading branch information
AlisdairM committed Jan 8, 2025
1 parent d1fbf86 commit bc3a7da
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions source/future.tex
Original file line number Diff line number Diff line change
Expand Up @@ -221,33 +221,27 @@

\pnum
The header \libheaderref{stdalign.h} has the following macros:
\indexlibraryglobal{__alignas_is_defined}%
\begin{codeblock}
#define @\xname{alignas_is_defined}@ 1
#define @\xname{alignof_is_defined}@ 1
#define @\libxmacro{alignas_is_defined}@ 1
#define @\libxmacro{alignof_is_defined}@ 1
\end{codeblock}

\pnum
The header \libheaderref{stdbool.h} has the following macro:
\indexlibraryglobal{__bool_true_false_are_defined}%
\begin{codeblock}
#define @\xname{bool_true_false_are_defined}@ 1
#define @\libxmacro{bool_true_false_are_defined}@ 1
\end{codeblock}

\rSec1[depr.cerrno]{Deprecated error numbers}

\pnum
The header \libheaderref{cerrno} has the following additional macros:

\indexlibraryglobal{ENODATA}%
\indexlibraryglobal{ENOSR}%
\indexlibraryglobal{ENOSTR}%
\indexlibraryglobal{ETIME}%
\begin{codeblock}
#define ENODATA @\seebelow@
#define ENOSR @\seebelow@
#define ENOSTR @\seebelow@
#define ETIME @\seebelow@
#define @\libmacro{ENODATA}@ @\seebelow@
#define @\libmacro{ENOSR}@ @\seebelow@
#define @\libmacro{ENOSTR}@ @\seebelow@
#define @\libmacro{ETIME}@ @\seebelow@
\end{codeblock}

\pnum
Expand Down Expand Up @@ -861,7 +855,7 @@
template<class T>
void atomic_init(atomic<T>*, typename atomic<T>::value_type) noexcept;

#define ATOMIC_VAR_INIT(value) @\seebelow@
#define @\libmacro{ATOMIC_VAR_INIT}@(value) @\seebelow@
}
\end{codeblock}

Expand Down Expand Up @@ -910,7 +904,7 @@

\indexlibraryglobal{ATOMIC_VAR_INIT}%
\begin{itemdecl}
#define ATOMIC_VAR_INIT(value) @\seebelow@
#define @\libmacro{ATOMIC_VAR_INIT}@(value) @\seebelow@
\end{itemdecl}

\begin{itemdescr}
Expand Down

0 comments on commit bc3a7da

Please sign in to comment.