Modern C++ is really amazing with a lot of great features of programming. One of the features of Modern C++ is a Defaulted Function or in another term Defaulted Method of classes that is a function that contains =default; in its prototype. Defaulted functions are a feature of C++11 and above. In this post, we explain what is a defaulted function or method in modern C++.
What is defaulted…
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 Are The Macros For The Integer Constants In Modern C++
April 26, 2023
In C++ programming, there are macros for the fixed-width integer type that allow you to obtain minimum and maximum possible values. In this post, we explain these macros for integer constants in modern C++.
What are the macros for minimum signed integer constants in…
What Are Fixed Width Integer Types In Modern C++
April 25, 2023
In C++ development, integer variables can be decimal (base 10), octal (base 8) or hexadecimal (base 16). In addition to int, short int, long int, and long long int, there are fixed width integer types. Fixed-width integers are defined types with a fixed number of bits. In this post we will list them.
What are fixed width integer types in modern C++?
In addition to standard types in C++…
What Are Function Macros For Integer Constants?
April 24, 2023
In C++ coding, there are function macros for the fixed-width integer type that expands to an integer constant expression having the value specified by its argument. Their type is the promoted type of std::int_least8_t, std::int_least16_t, std::int_least32_t, and…
The C++ Programming Language is huge, it may have millions and millions of keywords, and commands with every new library or feature addition. In programming, it is hard to memorize all of these keywords. Sometimes when we are using some keywords, we may have some questions…
How To Use The Python Language In A C++ App?
April 18, 2023
Python is hugely popular and has some really useful libraries. Python is particularly strong in the field of AI and machine learning (ML). If you are C++ developer, you might want your users to be able to analyze data with AI modules or frameworks written in the Python language in your applications. Let’s imagine you want the users to carry out a few button clicks to do some heavy AI…
What Is aligned_alloc In Modern C++?
April 6, 2023
The C++11 standard introduced a new alignment feature as one of the many features of the C++ programming language that can be used with the newest C++ compilers today. This new feature was a new keyword align std::aligned_alloc that is used to provide a nested type that can…
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…
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 nested type which can be used as an uninitialized storage for any object whose size is at most the object size stated by…