Hacker News new | ask | show | jobs
by olliej 584 days ago
Regarding the template make function, there’s a c++ proposal I’ve been working on: https://wg21.link/p2719

This provides the type being allocated to the operator new implementation.

If you want to experiment here’s the implementation: https://github.com/llvm/llvm-project/pull/113510