Re: Question about programming techniques
- From: George <jirka 5z com>
- To: GNOME Malinglist <gnome-list gnome org>
- Subject: Re: Question about programming techniques
- Date: Sat, 27 Jun 1998 02:26:53 -0700
On Sat, Jun 27, 1998 at 10:37:34AM +0200, Kasper Peeters wrote:
> You're not being fair here. If you are happy with explicit casts (in
> user code, rather than in the library) in a C container class library,
> then you could just as well use a container of 'void *' with STL to
> get the same effect.
why not use a lib that deals with void* in a much cleaner way ...
I don't cast ... I hate casting from void* ... it makes the code ugly ...
I already know the type of the pointer I set the void* to so why cast
George
--
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
The following implements RSA in perl and is illegal to export from the US:
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]