C++C++11C++14C++17IteratorsLearn C++

Introduction to C++ Iterators

Iterator abstracts the concept of pointer to the sequence in range [begin, end), and thus provides the following basic operations: dereference to obtain the current element;movement to point the next element;comparison to determine at least the end of sequence. Iterator to the element of the sequence in range [begin, end) is valid from the moment of initialization and until: the moment it…
Read more
C++C++11C++14C++17Language FeatureLearn C++Syntax

Unicode Strings in C++ On Windows

In programming, one of the most used variables is text strings, and they are sometimes really important when storing and retrieving valuable data. It is important to store your data safely in its language and localization. Most programming languages have issues when storing texts and letters. In C++, there is very old well-known string type (arrays of chars) and modern types…
Read more
C++11C++14C++17Learn C++Templates

Stages of C++ Templates Compilation On Windows

In order to compile C++ templates the compilers like Embarcadero RAD Studio C++ compilers are required to perform two stages: definition stage and instantiation stage. The template definition stage On this stage the following checks are performed: static assertions and availability of names declarations (such as names of classes and functions) independent on template parameters are…
Read more