[comp.lang.c++] C++ and M C Hammer : Funny

agrawal@pollux.usc.edu (Amitabh Agrawal) (12/28/90)

Came up with this recently.

"It is rumored that M C Hammer came up with the idea of his famous song
while chatting with Bjarne in a bar in the summer of '89"

Amitabh Agrawal

bs@alice.att.com (Bjarne Stroustrup) (12/28/90)

agrawal@pollux.usc.edu (Amitabh Agrawal @ University of Southern California, Los Angeles, CA)
writes

 > Came up with this recently.
 > 
 > "It is rumored that M C Hammer came up with the idea of his famous song
 > while chatting with Bjarne in a bar in the summer of '89"
 > 

Sounds interesting. Can you tell us what it is all about?

agrawal@pollux.usc.edu (Amitabh Agrawal) (12/28/90)

Bjarne Stroustrop writes :--

==agrawal@pollux.usc.edu (Amitabh Agrawal @ University of Southern            
==California, Los Angeles, CA) writes                                         
==                                                                            
== > Came up with this recently.                                              
== >                                                                          
== > "It is rumored that M C Hammer came up with the idea of his famous song  
== > while chatting with Bjarne in a bar in the summer of '89"                
== >                                                                          
==                                                                            
==  Sounds interesting. Can you tell us what it is all about



The type of `this' for class X used to be X* (Stroustrup pg137). This
was changed to X* const(E&S pg 177). 

Hence "Can't Touch This". 

What makes this all the more interesting is the fact that nobody
really knows what "this" means in the M C Hammer song. Arsenio asked
him about it and he evaded the question. 

Amitabh Agrawal