[LC++](void) new object(..)
Brian Nelson
nelson at bignachos.com
Wed Dec 5 07:45:36 UTC 2001
Roberto D?az <roberto at vivaldi.dhis.org> writes:
> Hi!
>
> In the QT 2.2 Tutorial I can see a piece of code like this:
>
> for( int r = 0 ; r < 4 ; r++ )
> (void)new LCDRange( grid );
>
> I cant figure out very well what is doing here "(void)".. :???
>
> Is it just more beautifull to write it this way?
Do you mean more ugly? :) In that case, yes.
--
Brian Nelson <nelson at bignachos.com>
BigNachos at jabber.org
http://bignachos.com
More information about the tuxCPProgramming
mailing list