<s>
Special	B-Language
member	I-Language
functions	I-Language
in	O
C++	B-Language
are	O
functions	O
which	O
the	O
compiler	B-Language
will	O
automatically	O
generate	O
if	O
they	O
are	O
used	O
,	O
but	O
not	O
declared	O
explicitly	O
by	O
the	O
programmer	O
.	O
</s>
<s>
The	O
automatically	O
generated	O
special	B-Language
member	I-Language
functions	I-Language
are	O
:	O
</s>
<s>
Copy	B-Language
constructor	I-Language
if	O
no	O
move	B-Application
constructor	I-Application
and	O
move	B-Language
assignment	I-Language
operator	I-Language
are	O
explicitly	O
declared	O
.	O
</s>
<s>
If	O
a	O
destructor	B-Language
is	O
declared	O
generation	O
of	O
a	O
copy	B-Language
constructor	I-Language
is	O
deprecated	O
(	O
C++11	O
,	O
proposal	O
N3242	O
)	O
.	O
</s>
<s>
Move	B-Application
constructor	I-Application
if	O
no	O
copy	B-Language
constructor	I-Language
,	O
copy	O
assignment	O
operator	O
,	O
move	B-Language
assignment	I-Language
operator	I-Language
and	O
destructor	B-Language
are	O
explicitly	O
declared	O
.	O
</s>
<s>
Copy	O
assignment	O
operator	O
if	O
no	O
move	B-Application
constructor	I-Application
and	O
move	B-Language
assignment	I-Language
operator	I-Language
are	O
explicitly	O
declared	O
.	O
</s>
<s>
If	O
a	O
destructor	B-Language
is	O
declared	O
,	O
generation	O
of	O
a	O
copy	O
assignment	O
operator	O
is	O
deprecated	O
.	O
</s>
<s>
Move	B-Language
assignment	I-Language
operator	I-Language
if	O
no	O
copy	B-Language
constructor	I-Language
,	O
copy	O
assignment	O
operator	O
,	O
move	B-Application
constructor	I-Application
and	O
destructor	B-Language
are	O
explicitly	O
declared	O
.	O
</s>
<s>
In	O
these	O
cases	O
the	O
compiler	B-Language
generated	O
versions	O
of	O
these	O
functions	O
perform	O
a	O
memberwise	O
operation	O
.	O
</s>
<s>
For	O
example	O
,	O
the	O
compiler	B-Language
generated	O
destructor	B-Language
will	O
destroy	O
each	O
sub-object	O
(	O
base	O
class	O
or	O
member	O
)	O
of	O
the	O
object	O
.	O
</s>
<s>
The	O
compiler	B-Language
generated	O
functions	O
will	O
be	O
public	O
,	O
non-virtual	O
and	O
the	O
copy	B-Language
constructor	I-Language
and	O
assignment	O
operators	O
will	O
receive	O
const&	O
parameters	O
(	O
and	O
not	O
be	O
of	O
the	O
alternative	O
legal	O
forms	O
)	O
.	O
</s>
<s>
The	O
following	O
example	O
depicts	O
two	O
classes	O
:	O
for	O
which	O
all	O
special	B-Language
member	I-Language
functions	I-Language
are	O
explicitly	O
declared	O
and	O
for	O
which	O
none	O
are	O
declared	O
.	O
</s>
<s>
Here	O
are	O
the	O
signatures	O
of	O
the	O
special	B-Language
member	I-Language
functions	I-Language
:	O
</s>
<s>
Function	O
syntax	O
for	O
class	O
MyClass	O
Default	O
constructor	O
MyClass( )	O
;	O
Copy	B-Language
constructor	I-Language
MyClass( const	O
MyClass&	O
other	O
)	O
;	O
Move	B-Application
constructor	I-Application
MyClass( MyClass&&	O
other	O
)	O
noexcept	O
;	O
Copy	O
assignment	O
operator	O
MyClass&	O
operator	O
=(	O
const	O
MyClass&	O
other	O
)	O
;	O
Move	B-Language
assignment	I-Language
operator	I-Language
MyClass&	O
operator	O
=(	O
MyClass&&	O
other	O
)	O
noexcept	O
;	O
Destructor	B-Language
virtual	B-Application
~	O
MyClass( )	O
;	O
The	O
'	O
address	O
of	O
 '	O
operator	O
MyClass	O
*	O
operator&( void	O
)	O
;	O
MyClass	O
const	O
*	O
operator&( void	O
)	O
const	O
;	O
MyClass	O
volatile	O
*	O
operator&( void	O
)	O
volatile	O
;	O
MyClass	O
const	O
volatile	O
*	O
operator&( void	O
)	O
const	O
volatile	O
;	O
</s>
<s>
In	O
C++03	O
before	O
the	O
introduction	O
of	O
move	O
semantics	O
(	O
in	O
C++11	O
)	O
the	O
special	B-Language
member	I-Language
functions	I-Language
were	O
:	O
</s>
