Re: built in types
From: lilburne (lilburne_at_godzilla.net)
Date: 11/26/03
- Next message: Jonathan: "Re: trim string."
- Previous message: Zenon: "Re: Difficulty with nested template classes (newbie)"
- In reply to: Victor Bazarov: "Re: built in types"
- Next in thread: muser: "Re: built in types"
- Reply: muser: "Re: built in types"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Nov 2003 22:34:44 +0000
Victor Bazarov wrote:
> "lilburne" <lilburne@godzilla.net> wrote...
>
>
> Actually, since '==' has "higher precedence" than '|', the expression
> is executed as
>
> ( sort_file.peek(temp2[0]) == 'c' ) | 'C'
>
> (first the comparison, then bitwise OR). The result can be either
> 'C', if 'peek' returns something different from 'c', or something
> potentially different, depending on the _code_ used in the system.
>
>
>> temp2[0]) == 'c' || temp2[0]) == 'C'
>>
>>is the expression you need.
>
>
> You mean
>
> sort_file.peek(temp2[0]) == 'c'
> ||
> sort_file.peek(temp2[0]) == 'C'
>
> , right?
>
>
Thank you. Not a very good post at all was it?
- Next message: Jonathan: "Re: trim string."
- Previous message: Zenon: "Re: Difficulty with nested template classes (newbie)"
- In reply to: Victor Bazarov: "Re: built in types"
- Next in thread: muser: "Re: built in types"
- Reply: muser: "Re: built in types"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]