Bizarre placement new[] operator return address
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).
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).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement