void calcB(B b) // copy constructor for 'b' called here
{
} // destructor for 'b' called here
///
int main()
{
B* bb = new B(); // default ctor for 'bb' called here
calc(*bb); // copy ctor and dtor called as per above function
delete bb; // dtor for 'bb' called here
}