Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
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)
I am not a C++ expert, I mainly know C, but in the picture, it says there are 4 overloads. That tells me that is one way to define it. You could also try using a lower standard and see if that helps.
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg