Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++RAD Studio

Let’s Learn 5 Features Of Modern C++

How To Use A Move Constructor In Modern C++

Hello C++ Developers, I hope now you are enjoying your summer vacation, or you are happy with your work 🙂 Over on LearnCPLusPlus.org we add new C++ posts every day. These are good to learn the features of modern C++ compilers. In this round-up of recent articles we cover some important features of C++ such as the friend declaration, the inline namespace, the extended sizeof function, the assignment operator, and the rules of C++ such as the Rule of Zero, the Rule of Three, the Rule of Five, and the Rule of Six. Some of these topics may not be necessary for beginners but they are important to understand as you progress on your coding journey.

Where can I learn C++ with a free C++ compiler?

If you don’t know anything about C++ or the C++ Builder IDE, don’t worry, we have a lot of great examples on the LearnCPlusPlus.org website and they’re all completely free. Just visit this site and copy and paste any examples there into a new Console, VCL, or FMX project, depending on the type of post. We keep adding more C and C++ posts with sample code. In today’s round-up of recent posts on LearnCPlusPlus.org, we have new articles with very simple examples that can be used with:

Read the FAQ notes on the CE license and then simply fill out the form to download C++ Builder 11 CE.

How to use a move constructor and copy assignment in C++ with C++ Builder CE?

In C++ the standards have a wonderfully named extended friend declaration feature to address the class declarations which is a template parameter as a friend. This extended friend declaration is available with the C++ compiler that has C++11 and above standards. In the first post, we explain a friend and extended friend declaration in modern C++. https://learncplusplus.org/what-is-an-extended-friend-declaration-in-modern-c/

Namespaces are a kind of library or framework in C++. They are useful to hold the same name of classes, methods, and other entities in different namespaces. The C++11 standard and subsequent standards, allow the inline keyword in a namespace definition and in the next post, we explain how to use inline namespaces in modern C++. https://learncplusplus.org/what-is-the-inline-namespace-feature-in-modern-c/

Knowing the physical size of any data is very important in programming. While the programmers are trying to minimize data types or stream packages, the actual amount of global data transfer is increasing thanks to the demands of new technologies. To help combat this trend, we need to know each data type in programming. The sizeof() function is very useful to get the size of variables in bytes. C++11 extends the functionality of sizeof function so that class or class members can be sent as parameters even if no object has been instantiated. In another post, we explain with examples, what is the sizeof function, what is the extended sizeof() function, and how does C++11 extend the sizeof() operator on classes? https://learncplusplus.org/what-is-an-extended-sizeof-in-modern-c/

One of the most commonly used features of C++ software, in common with many programming languages, are assignment operators. These take the form of copy assignment and move assignment operators. In C++, a copy assignment operator can be used with “operator=” to create a new object from an existing one. In the next post, we explain assignment operators with copy assignment operator examples in C++. https://learncplusplus.org/what-is-an-assignment-operator-in-c/

Classes and structs are one of the most important parts of modern software development. In modern C++, there are some rules to support the principles of programming. For example, in class definitions there are a few rules to be considered – these are the Rule of Zero, the Rule of Three, the Rule of Five, and the Rule of Six. In the last post, we explain all of these rules with examples. https://learncplusplus.org/what-are-the-rules-of-zero-three-five-and-six-in-c/

How to learn C++ for free using C++ Builder CE ?

LearnCPlusPlus.org has been producing full of educational daily articles about C and modern C++ that can be used with C++ Builder, C++ Builder CE, Dev-C++, BCC Compiler and some other compilers such as the GCC compiler. Here are our post picks for today.

We like to hear your feedback. You motivate us so much with your likes and comments on social media (find us on Facebook, LinkedIn, Reddit, Twitter and all over) and here on the blogs too. Thank you for your valuable comments and questions. All of them help improve the quality of our future posts and new code in these posts.

We have a lot of unique posts waiting to come. We keep adding new topics every week about C++ in general and specific topics for C++ Builder, Dev-C++, and for the other C++ compilers. Please keep following our LearnCPlusPlus.org website for the latest posts and updates. Feel free to comment and share with your colleagues, students, members – knowledge is power, and knowledge shared is empowering.

What is new in C++ Builder CE?

C++ Builder 11 CE which is the free Edition of C++ Builder has been recently released. Embarcadero has made available a Community Edition license for the most recent 11.3 release of Delphi and C++Builder. This is a free edition of either Delphi or C++Builder for students, hobbyists, and startups (as the license is revenue-limited).

How To Use A Move Constructor In Modern C++ The CE splash screen

What might be next for C++ Builder?

According to David Millington’s post, C++ Builder is aiming to include some amazing features; CLANG v15, support for C++20 and a lot of C++23 features, Win64 primary OS, new code completion, Visual Assist C++ navigation and refactoring, and lots more.

Disclaimer: All new features and improvements discussed in posts regarding future versions of RAD Studio are not committed until completed, and GA released.

Note that Embarcadero announced the release of RAD Studio 11 Alexandria Release 3, also known as RAD Studio 11.3, along with Delphi 11.3 and C++Builder 11.3. This release is focused on quality and improvements, building on the great new features in RAD Studio 11 Alexandria three previous releases.

How To Use A Move Constructor In Modern C++ C++ Builder logo

C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, MacOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio’s C++ Builder version comes with the award-winning VCL framework for high-performance native Windows apps and the powerful FireMonkey (FMX) framework for cross-platform UIs.

There is a free C++ Builder Community Edition for students, beginners, and startups; it can be downloaded from here. For professional developers, there are Professional, Architect, or Enterprise version.


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Dr. Yilmaz Yoru has 35+ years of coding with more than 30+ programming languages, mostly C++ on Windows, Android, Mac-OS, iOS, Linux, and some other operating systems. He graduated and received his MSc and PhD degrees from the Department of Mechanical Engineering of Eskisehir Osmangazi University. He is the founder and CEO of ESENJA LLC Company. His interests are Programming, Thermodynamics, Fluid Mechanics, Artificial Intelligence, 2D & 3D Designs, and high-end innovations.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES