DEV Community

Discussion on: Rust's Vector

Collapse
 
cthutu profile image
Matt Davies

All of C++'s standard collections have the allocator hook.

Collapse
 
berkus profile image
Berkus Decker

Yeah, I know. The post was about the vector though.

Thread Thread
 
cthutu profile image
Matt Davies

Yes, and the vector, being a collection, has that allocator hook in C++ too.