[diff.cpp14.expr] (original) (raw)

Affected subclauses: [expr.new] and [expr.delete]

Change: Dynamic allocation mechanism for over-aligned types.

Rationale: Simplify use of over-aligned types.

Effect on original feature: In C++ 2014 code that uses a new-expressionto allocate an object with an over-aligned class type, where that class has no allocation functions of its own,​::​operator new(std​::​size_t)is used to allocate the memory.

In this revision of C++,​::​operator new(std​::​size_t, std​::​align_val_t)is used instead.