
Complete Modern C++ - Default and Deleted Functions (C++11)
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Hard
Wayground Content
FREE Resource
The video tutorial covers the implementation of an integer class in C++, focusing on constructors. It explains the use of default and parameterized constructors, and how C++11 allows the use of the 'default' keyword to generate default implementations. The tutorial also discusses the 'delete' keyword to prevent the compiler from synthesizing certain functions, such as the copy constructor and assignment operator. Additionally, it demonstrates how to use 'delete' to prevent unwanted function calls, like passing a float to a function intended for integers. The video concludes with a brief overview of what will be covered in future sessions.
Read more
1 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
What new insight or understanding did you gain from this video?
Evaluate responses using AI:
OFF
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?