"Raghu Uppalli" <ra****@rocketmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
It is printed. Here is what I get when I run this..
conv. op. called
cat
conv. op. called
cat
conv. op. called
cat
g++ 3.4.2
Thanks for letting me know that. That was what I wanted to get. Using MS
Visual Studio 6.0, I got an address, followed by two cats. Conversion
operator was called all 3 times.
The only explanation I can think of is that perhaps a char* value is
converted to some type of string object (and only one conversion can be
applied).