Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: C++
Expertise: Advanced
Jul 17, 1998



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Prefer Standard Library's containers to hand-made ones

Before implementing containers such list, vector, queue, stack etc., by yourself, you can cut costs and software shipment time significantly by using The Standard Template Library, or STL. STL defines the following types of containers: vector, list, deque (double-ended queue), queue, stack, map, set and bitset - all of them are ready for use. Three more advantages of preferring STL over factory made containers are:
Portability - all standard conforming C++ implementations supply them;
Performance - STL containers were designed and implemented to meet strict efficiency demands;
Reliability - these containers were already debugged and tested.
Danny Kalev
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date