top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are the implicit member functions of class?

+1 vote
474 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
...