Behaviour of std::pmr::memory_resource::do_allocate()
is ambiguous
#966
Labels
lwg
Issue must be reviewed by LWG.
std::pmr::memory_resource::do_allocate()
is ambiguous
#966
essentially a copy of this StackOverflow question.
To quote N4606:
This is ambiguous: What happens if the alignment is a power of two but unsupported (e.g larger than max_align)? Is the returned storage aligned to max_align or is an exception thrown?
The text was updated successfully, but these errors were encountered: