Title
Unclear requirement in [memory.resource.private]
Status
nad editorial
Section
[mem.res.private]
Submitter
Jonathan Wakely

Created on 2016-05-04.00:00:00 last changed 93 months ago

Messages

Date: 2016-08-05.03:33:05

Proposed resolution:

  1. Modify [memory.resource.private] paragraph 1 as shown:

    virtual void* do_allocate(size_t bytes, size_t alignment) = 0;
    

    -1- Requires: AlignmentThe alignment specified by alignment shall be a power of two.

Date: 2016-08-05.03:33:05

[ 2016-08 - Chicago ]

Thurs AM: Moved to NAD Editorial. Will change "Alignment" to alignment and add a reference to [basic.align]

Date: 2017-02-02.00:41:18

[ 2016-05 Issues Telecon ]

The resolution should reference [basic.align]. Jonathan to update the wording.

Date: 2016-08-04.12:12:30

[memory.resource.private] says:

virtual void* do_allocate(size_t bytes, size_t alignment) = 0;

-1- Requires: Alignment shall be a power of two.

Is that supposed to be a requirement on the alignment specified by the alignment parameter? If so the word "Alignment" should not be capitalized and in text font.

History
Date User Action Args
2016-08-05 03:33:05adminsetmessages: + msg8418
2016-08-05 03:33:05adminsetstatus: new -> nad editorial
2016-05-22 15:38:38adminsetmessages: + msg8142
2016-05-08 13:08:21adminsetmessages: + msg8102
2016-05-04 00:00:00admincreate