Bizarre placement new[] operator return address

Started by
10 comments, last by Bregma 11 years ago
For those who care, the array allocation overhead is described as applying to placement new[] in section 5.3.4 paragraph 12 of the C++ standard (same location in all versions).
Advertisement

Aside from trying to be Klever™ I suspect what the OP is doing is trying to reinvent either std::array or std::uninitialized_fill_n(). Perhaps he'd be more productive trying to use the language instead of modify it (although there's something to be said for discovering how your catalytic converter works instead of driving your car, too).

Stephen M. Webb
Professional Free Software Developer

This topic is closed to new replies.

Advertisement