Re: defining new types

From: Richard Herring (junk_at_[127.0.0.1)
Date: 10/25/04


Date: Mon, 25 Oct 2004 09:53:32 +0100

In message <I600s0.2y9@news.boeing.com>, Joe Laughlin
<Joseph.V.Laughlin@boeing.com> writes
>JKop wrote:

[explanation of operator bool() ]

>So, you can use Blah anywhere you can use a bool?

Yes, or anywhere you can use anything to which bool can be converted,
which may have effects you wouldn't expect. Implicit conversions can
produce more problems than they solve, if not used carefully.

-- 
Richard Herring


Relevant Pages

  • Re: Converting timeticks
    ... >conversions to vbscript. ... An explanation in English would be more understandable than one in Java. ...
    (microsoft.public.scripting.vbscript)
  • Re: shimano wh-6500 wheelset -- opinion
    ... Most aftermarket 10s cassette mfg's (generally conversions at this point) say the same. ... sprockets... ... no explanation. ...
    (rec.bicycles.tech)