Yet, I believe it's interesting to mention it, as no other language I know about provides this kind of hook.
Nope, look in C++ std::vector.
All of C++'s standard collections have the allocator hook.
Yeah, I know. The post was about the vector though.
Yes, and the vector, being a collection, has that allocator hook in C++ too.
I nope your nope. I don't know C++ π€·ββοΈ
"as no other language I know about provides this kind of hook"
But now you do know that C++ provides this kind of hook :)
I dont think thats a very professional way to approach it though.
If you donβt know something - you learn, do fact checking and only then try to educate others.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nope, look in C++ std::vector.
All of C++'s standard collections have the allocator hook.
Yeah, I know. The post was about the vector though.
Yes, and the vector, being a collection, has that allocator hook in C++ too.
I nope your nope. I don't know C++ π€·ββοΈ
"as no other language I know about provides this kind of hook"
But now you do know that C++ provides this kind of hook :)
I dont think thats a very professional way to approach it though.
If you donβt know something - you learn, do fact checking and only then try to educate others.