C++11 brings a lot of improvements over C++98. In C++98, two consecutive right-angle brackets (>>) give an error, and these constructions are treated according to the C++11 standard which means CLANG compilers no longer generate an error about right angle brackets. In this post, we explain this and how to solve the right-angle bracket problem in C++.
What is the right-angle bracket problem in…
How To Use C++ Standards In C++ Compiler Options
May 2, 2023
C++ is a very decent programming language that has a very strong compiler supported by a big community on a range of different platforms. The C++ language definitions, syntax, and functionality are organized into different standards. Those standards are usually named after…
Where To Find The C++ Standards In 2023?
April 27, 2023
C++ is a well-established programming language that is supported by a big community for many different computing hardware platforms. The language has a set of standards generally named after the approximate year the standard was adopted, such as C++98, C++11, C++14, C++17…
What is aligned_storage in Modern C++
April 4, 2023
The C++11 standard introduced alignment support as one of the many features of the C++ programming language that can be used with the newest C++ compilers today. One of the new features of this support was a new keyword align std::aligned_storage that is used to provide the nested typewhich can be used as an uninitialized storage for any object whose size is at mostgiven object…
What is aligned_union in Modern C++
April 3, 2023
The C++11 standard introduced alignment support as one of the many features of the C++ programming language that can be used with the latest C++ compilers today. One of the new features of this support was a new keyword align std::aligned_union that is used to provide a…
How To Use std::align In Modern C++
March 31, 2023
The C++11 standard introduced alignment support as one of the many features of a Modern compiler for the C++ programming language. One of the new features of this support is a new keyword align std::align which is used to get a pointer aligned by the…
C++ is really awesome programming language that has many options to use variables in a way which can make your C++ App use less memory and app size. In this post, we explain what are a constant, a constant expression and generalized constant expressions in modern C++.
What is the const constant keyword in modern C++?
Let’s remember that, in C++ there are two ways to define constants.
What Is The alignas Alignment Specifier In Modern C++?
March 28, 2023
One of the features of Modern C++ is Alignment Support which comes with the C++11 standard. One of the new features of this support is a new keyword alignas which is the alignment specifier. For example, we can apply the alignas alignment specifier to define the minimum…
What is a Forward Declaration enum Enumeration in C++?
March 27, 2023
Understanding how to correct declare variables is important in programming, especially in a modern C++ Application. There is an enumeration method that allows you to easily enumerate (count or determine their place in an order) values in variables. In C++, enumeration is…
Is C++ A Functional Programming Language?
December 19, 2022
C++ is highly evolved and mature programming language. The C++ language has a great set of choices of modern C++ IDE and compilers all of which come with a lot of tools, GUI components and libraries.
By using C++, you can create functional programs to solve complex engineering problems, you can simulate and analyze with 2D/3D graphics, create 3D environments, and add your custom 3D objects…