Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Default functions implemented by compiler
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Andrey Tarasevich, post: 2566090"] It would be "what ever" if "default" was just an English word. But in this context it is not just a word. In C++ terminology it is a term with concrete meaning. Hmm... You wording is unclear. 'this' is not a function. As Tom explained, 'this' is a name of an implicit parameter present in every non-static member function of a class. All non-static member functions have it. Whether they are implicitly defined or user-defined makes no difference. C code? What exactly do you mean by "C code" in this case? There's no such thing as "classes" or "member functions" in C language. They just recursively perform the same operations on the subobjects of the entire object (bases and data members). For example, copy constructor will try to copy-initialize all subobjects of the object. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Default functions implemented by compiler
Top