Re:Don’t blindly prefer emplace_back to push_back
by quotemstr on Thursday March 04, 2021 @06:44AM
(#26341240)
> Although I'm still genuinely interested when a linked list is best suited
Maintaining an intrusive list of objects that you have around anyway is sometimes the simplest option, especially because objects can easily remove themselves from the list upon destruction.
Maintaining an intrusive list of objects that you have around anyway is sometimes the simplest option, especially because objects can easily remove themselves from the list upon destruction.