Operators new and delete
Posted: Tue Jun 09, 2020 10:50 am
Hi guys, just implemented my first kernel heap allocator and I'm kinda confused about the C++ operators...
Why does this call the delete with size_t?

I did read this page https://en.cppreference.com/w/cpp/memor ... tor_delete but it says that they're called
only if user defined implementation is provided, but if I don't provide them GCC starts complaining and it results in an undefined reference...
(I'm using C++17)
Thanks
Why does this call the delete with size_t?

I did read this page https://en.cppreference.com/w/cpp/memor ... tor_delete but it says that they're called
only if user defined implementation is provided, but if I don't provide them GCC starts complaining and it results in an undefined reference...
(I'm using C++17)
Thanks
