C++C++11C++14C++17C++20Learn C++Syntax

What Is Uppercase T in C++ Syntax?

Knowing the correct syntax for any command, function or method is really important in C++ before you can write code effectively. Generally, we need to learn what kind of return type or parameters are used. We can use the helpful features of our IDE such as auto completion to make things easier, or we check online syntax examples. In modern C++ programming, sometimes we see an uppercase T in syntax…
Read more
C++C++11C++14C++17C++20Learn C++Syntax

What Is A Forced (Default) Copy Assignment Operator In Modern C++

In the C++ programming language, Object-Oriented Programming (OOP) is a good way to represent data and organize the functionality of your code into logical groups. Classes and Objects are the best way to work on properties and methods. One of the features of OOP IDE is copy assignment operator that is used with “operator=” to create a new object from an existing one. In this post, we…
Read more
C++C++11C++14C++17C++20Learn C++Syntax

Typical Declaration Of A Copy Assignment Operator With std::swap

Object-Oriented Programming (OOP) is a method of mapping real-world objects and data to computer functions and data structures. Classes and Objects are part of object-oriented methods and typically provide features such as properties and methods. One of the features of an OOP tool is the copy assignment operator that is used with “operator=” to create a new object from an existing one.
Read more
C++C++17C++20Learn C++Syntax

What Is aligned_alloc In Modern C++?

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…
C++C++11C++14C++17C++20Learn C++Syntax

What is aligned_storage in Modern C++

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…
Read more