Hacker News new | ask | show | jobs
by pif 266 days ago
> I WANT to be able to separate allocation from initialization.

Which hardly ever makes sense, and is possible with clean C++ anyway...

1 comments

> is possible with clean C++ anyway...

That's news to me; how?

Placement new?
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.