Re:
by cozzyd on Wednesday October 01, 2025 @06:42PM
(#45444478)
Placement new?
[ Parent
| on HN ]
Re:
by 1718627440 on Wednesday October 01, 2025 @07:12PM
(#45444741)
I might also use placement new after taking a pointer to a stack object or global, but it won't prevent the original constructor from being run.