Learn C++ STL Pair - Easy Guide - Standard Template Library

78 Просмотры
Издатель
@Toor Indraan

Learn C++ STL Pair - Easy Guide - Standard Template Library - https://youtu.be/BXpR6JJMjuU

Learn C++ STL Pairs. This video is an easy to understand and follow guide to understand how the C++ Pair works. Pair is part of the C++ Standard Template Library, and with in this you can easily understand how cpp pairs work, it's syntax, how to initialize or save and access the values inside the pair and also how to compare two pairs.

What is the Standard Template Library?
The STL provides a set of common classes for C++, such as containers and associative arrays, that can be used with any built-in type and with any user-defined type that supports some elementary operations (such as copying and assignment).

STL algorithms are independent of containers, which significantly reduces the complexity of the library.

The STL achieves its results through the use of templates. This approach provides compile-time polymorphism that is often more efficient than traditional run-time polymorphism. Modern C++ compilers are tuned to minimize abstraction penalties arising from heavy use of the STL.

Other Videos
Категория
Язык программирования C++
Комментариев нет.