casting int[] to bool[]

Jarrett Billingsley jarrett.billingsley at gmail.com
Wed Jan 28 19:09:13 PST 2009


On Wed, Jan 28, 2009 at 10:07 PM, Bill Baxter <wbaxter at gmail.com> wrote:
>
> Just you're more likely to catch an error if t changes from being an
> int to something else later on.
> I wish D had a "tame and well-behaved casts only please" kind of cast. :-(
>
> --bb
>

Ofine.  He could use to!(bool) then.


More information about the Digitalmars-d-learn mailing list