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

Categories of Iterators in C++

Conceptually, iterators are consists of five categories: input iterator is intended to traverse sequences in the forward direction and provides the read access to the pointed sequence element;output iterator is intended to traverse sequences in the forward direction and provides the write access to the pointed sequence element;forward iterator is intended to traverse sequences in the forward…
Read more
C++C++11C++17Learn C++

Top C++ Compilers for Windows in 2020

If you are on the hunt for the best C/C++ compilers available today, this article lists the top C/C++ compilers for Windows with their features. It’s very hard, in fact, to identify which C++ compiler is the best for you, as this is mostly about what you want to…
C++C++11Syntax

Learn The Initialization Of Class Objects By Rvalues When Building Windows Apps In C++

C++Builder includes the use of rvalue references, which allow creating a reference to temporaries. When you initialize to an class object using an rvalue(a temporary object), C++11 looks to see if you have defined a move constructor in your class. If you have, the temporary object is passed to it as a modifiable (non-const) rvalue reference, allowing you to transfer ownership of resource pointers…
Read more
C++C++11Code SnippetLanguage FeatureLearn C++

Learn About Using C++ rvalue References In The C++Builder BCC32 Compiler

BCC32, which is the classic C++Builder 32 bit compiler, includes the use of rvalue references, which allow creating a reference to temporaries. Also, rvalue references avoid unnecessary copying and make possible perfect forwarding functions. This feature is one of the C++11 features. Rvalue references are a compound type like standard C++ references, which are referred to as lvalue references.
Read more