!!, what is it?
- From: bjk of course <Use-Author-Supplied-Address-Header@[127.1]>
- Date: Sun, 11 Sep 2005 10:49:17 -0400
hello,
I've stumbled upon this in some code:
n = !!x;
I've ran it and 'n' is always either 0 or 1. Is '!!' an operator (what's it
called?) and is it standard/portable?
--
b e n k i b b e y ::: bjk AT arbornet DOT org
.
- Follow-Ups:
- Re: !!, what is it?
- From: DevarajA
- Re: !!, what is it?
- From: Mike Wahler
- Re: !!, what is it?
- From: Alexei A. Frounze
- Re: !!, what is it?
- Prev by Date: Re: Problems about conditional compilation
- Next by Date: Re: !!, what is it?
- Previous by thread: Problems about conditional compilation
- Next by thread: Re: !!, what is it?
- Index(es):