Re: defining new types
From: Richard Herring (junk_at_[127.0.0.1)
Date: 10/25/04
- Next message: Philip: "Re: Trouble with Strings"
- Previous message: mkarja: "Re: Reading a file from a specified range"
- In reply to: Joe Laughlin: "Re: defining new types"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Philip: "Re: Trouble with Strings"
- Previous message: mkarja: "Re: Reading a file from a specified range"
- In reply to: Joe Laughlin: "Re: defining new types"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|