On Mon, 31 Jan 2005 12:01:17 -0500, Victor Bazarov
<> wrote:
>
> operator int&() { return this->value; }
Great, I'm glad I asked here. Thanks!
>
>> Such a thing would save me time re-writing a bunch of overloaded
>> operators for superInt (among other things).
>
>But it is rather dangerous. Be careful.
Yes, I can see where it can be quite dangerous. I think I will avoid
it whenever I can...especially since I've already written all my
overloaded operators for the task at hand.
-Matt
--
Remove the "downwithspammers-" text to email me.
|