You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requires:ptr shall be a null pointer or its value shall be a value returned by an earlier call to the (possibly replaced) operator new(std::size_t) or operator new(std::size_t,const std::nothrow_t&) which has not been invalidated by an intervening call to operator delete(void*) or operator delete(void*, std::size_t).
[new.delete.array]/11:
Requires:ptr shall be a null pointer or its value shall be the value returned by an earlier call to operator new[](std::size_t) or operator new[](std::size_t,const std::nothrow_t&) which
has not been invalidated by an intervening call to operator delete[](void*) or operator delete[]( void*, std::size_t).
Firstly, ptr should be using \tcode not \textit.
Secondly, why is one "its value shall be a value" and the other "its value shall be the value"?
Thirdly, why does the first state "possibly-replaced" but not the second?
The text was updated successfully, but these errors were encountered:
[new.delete.single] p12
Requires: ptr shall be a null pointer or its value shall represent the address of a block of memory
allocated by an earlier call to a (possibly replaced) operator new(std::size_t) or operator new(std ::size_t, std::align_val_t) which has not been invalidated by an intervening call to operator delete.
[new.delete.array] p11
Requires: ptr shall be a null pointer or its value shall represent the address of a block of memory
allocated by an earlier call to a (possibly replaced) operator new[](std::size_t) or operator new[](std::size_t, std::align_val_t) which has not been invalidated by an intervening call to operator delete[].
[new.delete.single]/12:
[new.delete.array]/11:
Firstly, ptr should be using \tcode not \textit.
Secondly, why is one "its value shall be a value" and the other "its value shall be the value"?
Thirdly, why does the first state "possibly-replaced" but not the second?
The text was updated successfully, but these errors were encountered: