top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What are the implicit member functions of class?

+1 vote
294 views
What are the implicit member functions of class?
posted Mar 10, 2015 by Anwar

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

As Per Wiki-->http://en.wikipedia.org/wiki/Special_member_functions

  1. Default constructor -->if no other constructor is explicitly declared
  2. Copy constructor --> if no move constructor or move assignment operator is explicitly declared.If a destructor is declared generation of a copy constructor is deprecated.
  3. Move constructor -->if no copy constructor, move assignment operator or destructor is explicitly declared.
  4. Copy assignment operator -->if no move constructor or move assignment operator is explicitly declared.
    If a destructor is declared generation of a copy assignment operator is deprecated.
  5. Move assignment operator --> if no copy constructor, copy assignment operator or destructor is explicitly declared.
  6. Destructor
answer Mar 10, 2015 by Chirag Gangdev
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...