std::regex_iterator
std::regex_iterator Prerequisites 1. What is an std::regex_iterator std::regex_iterator is an iterator used to iterate over all regex matches in a string. Instead of finding just one match,...
std::regex_iterator Prerequisites 1. What is an std::regex_iterator std::regex_iterator is an iterator used to iterate over all regex matches in a string. Instead of finding just one match,...
std::find, std::search, std::merge, std::erase Prerequisites 1. What are std::find, std::search, std::merge, std::erase These algorithms are part of the C++ Standard Library and work with it...
Iterators Prerequisites 1. What is an Iterator An iterator is a generalized pointer that allows you to access elements inside a container. 2. Iterators Core Iteration #include <vector&...
std::allocator Prerequisites 1. What is an Allocator An allocator is a mechanism that handles memory allocation and deallocation for objects used in containers like: std::vector std::...
filesystem (C++17) Prerequisites 1. What is a filesystem? <filesystem> provides a standard, portable way to work with files and directories. Before C++17: OS-specific APIs (POSIX /...
Streams Prerequisites 1. What is a Stream? A stream in C++ is an abstraction for input/output operations. [ Source ] → (Input Stream) → Program → (Output Stream) → [ Destination ] ...
Class Template Prerequisites 1. What is a Template A template allows you to write generic, reusable code. Instead of fixing a type, you parameterize it: template<typename T> A funct...
Template Specialization Prerequisites - Template 1. What is Template Specialization Template specialization allows you to provide a custom implementation of a template for specific types. ...
chrono (since C++11) Prerequisites 1. What is <chrono>? <chrono> is the C++ standard library for time measurement and manipulation. It provides: Clocks → get current time D...
std::launder and std::destroy_at Prerequisites 1. What is std::launder and std::destroy_at These two utilities are not used every day, but they become important when working with: manual...