2 ms·
My C++ is very rusty (pun not intended), I had no idea you can plug in a custom allocator but still use new/delete for initialization. Do you maybe have a link
by mariusor 5y ago
My C++ is very rusty (pun not intended), I had no idea you can plug in a custom allocator but still use new/delete for initialization. Do you maybe have a link to something where I can read more about this?
- tialaramex 5y agoThe C++ new keyword is just an operator and so you can overload it like most C++ operators, to do whatever you want. In fact it's not just one operator, it's a whole family of them.