[diff.mods.to.behavior] (original) (raw)

Annex C (informative) Compatibility [diff]

C.8 C standard library [diff.library]

C.8.5 Modifications to behavior [diff.mods.to.behavior]


C.8.5.1 General [diff.mods.to.behavior.general]

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

C.8.5.3 Memory allocation functions [diff.malloc]


C.8.5.1 General [diff.mods.to.behavior.general]

1

#

Header : The following functions have different behavior:

Subclause [support.start.term] describes the changes.

2

#

Header : The following functions have different behavior:

Subclause [csetjmp.syn] describes the changes.

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

1

#

The macro offsetof, defined in, accepts a restricted set of type arguments in C++.

Subclause [support.types.layout] describes the change.

C.8.5.3 Memory allocation functions [diff.malloc]

1

#

The functionsaligned_alloc,calloc,malloc, andreallocare restricted in C++.

Subclause [c.malloc] describes the changes.