Skip to content

Commit

Permalink
[diff.offsetof] Better index usage of the offsetof macro
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisdairM committed Jan 2, 2025
1 parent 9acaddd commit 00be37c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/compatibility.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2395,7 +2395,7 @@
Support for new thread facilities.
\effect
Valid but implementation-specific \CppIII{} code that relies on
\tcode{errno} being the same across threads may change behavior in this
\tcode{\libmacro{errno}} being the same across threads may change behavior in this
revision of \Cpp{}.

\rSec2[diff.cpp03.utilities]{\ref{utilities}: general utilities library}
Expand Down Expand Up @@ -3734,10 +3734,9 @@
Subclause \ref{csetjmp.syn} describes the changes.

\rSec3[diff.offsetof]{Macro \tcode{offsetof(\placeholder{type}, \placeholder{member-designator})}}
\indexlibraryglobal{offsetof}%

\pnum
The macro \tcode{offsetof}, defined in
The macro \tcode{\libmacro{offsetof}}, defined in
\libheaderref{cstddef},
accepts a restricted set of \tcode{\placeholder{type}} arguments in \Cpp{}.
Subclause \ref{support.types.layout} describes the change.
Expand Down

0 comments on commit 00be37c

Please sign in to comment.