Re:C++ Is the New Python
by blub on Thursday July 15, 2021 @03:17AM
(#27842187)
"C++ stdlib provides almost exclusively data structures you shouldn't use"
The containers according to [1] are array, vector, deque, forward_list, list, *set, *map, stack, queue and priority_queue. All of these are good general implementations that can and should be used for most C++ software.
Some classes of software require better performance or certain special guarantees and then it makes sense to consider specialized implementations.
The containers according to [1] are array, vector, deque, forward_list, list, *set, *map, stack, queue and priority_queue. All of these are good general implementations that can and should be used for most C++ software.
Some classes of software require better performance or certain special guarantees and then it makes sense to consider specialized implementations.
[1] https://en.cppreference.com/w/cpp/container