C++11 introduced a more generalized framework to write constant expressions, extending to regular functions and user-defined objects. This removed many of the limitations in previous…
Software Developer | Computer Engineer
C++11 introduced a more generalized framework to write constant expressions, extending to regular functions and user-defined objects. This removed many of the limitations in previous…
Yet another small useful feature that’s already available in many other languages as a core syntax construct has been brought into C++. Probably you have…
Another small but convenient extension to C++11 is the possibility of using the auto specifier to tell the compiler to work out the return type…
C++11 has introduced a powerful long-awaited feature that greatly simplifies writing code that requires the use of closures, and that is lambda expressions. C++14 has…
Constant expressions are an important part of programming languages because of the opportunity for aggressive optimization in the compilation process. A constant expression is broadly…
C++ provides default implementations for several functions and operators that are implicitly defined by the compiler if there are no user-defined ones. Specifically, the following…
One of the most controversial features of C++, historically, regarded the use of “null” pointers in a consistent and type-safe manner. Intuitively, a null pointer…
This is one of the features that has always surprised me it was not supported in earlier standards. Even though it’s a very simple construct,…
Type systems are a major component of any programming language and, broadly speaking, their purpose is to associate “types” to “values” by finding a binding…
Correct data initialization is a fundamental concern in computer programming, especially when the environment does not provide a consistent behavior, which can lead to unexpected…