by arch119 <shambhushrestha@[EMAIL PROTECTED]
>
Apr 19, 2008 at 01:45 AM
> b3 = b1; // assignment operator called and copy constructor is called
copy constructor is called to construct a temp returned by assignment
operator.
base operator=(const base & a){cout << "assignment operator " << a.s
<< endl; return a.s;}
--
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]