[diff.offsetof]

# Annex C (informative) Compatibility [[diff]](./#diff)

## C.8 C standard library [[diff.library]](diff.library#diff.offsetof)

### C.8.5 Modifications to behavior [[diff.mods.to.behavior]](diff.mods.to.behavior#diff.offsetof)

#### C.8.5.2 Macro offsetof(*type*, *member-designator*) [diff.offsetof]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/compatibility.tex#L3829)

The macro offsetof, defined in[<cstddef>](cstddef.syn#header:%3ccstddef%3e "17.2.1 Header <cstddef> synopsis [cstddef.syn]"),
accepts a restricted set of *type* arguments in C++[.](#1.sentence-1)

Subclause [[support.types.layout]](support.types.layout "17.2.4 Sizes, alignments, and offsets") describes the change[.](#1.sentence-2)
