Variant's, Any and void* issue

Ian Reinhart Geiser ian at geiseri.com
Mon Apr 26 04:30:42 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 24 April 2004 04:23 pm, Zack Rusin wrote:
> Hey,
>
> QVariant is nice, but it's not extendible which is why we still have
> code in some places which uses void* to store objects of any type. It
> would be ok, if not that using void* makes deleting the holded object
> impossible.
>
> Here's one solution that I'm using locally for some things and it looks
> that we'll switch kjsembed to it as well.
>
> It's an Any class. It's essentially Boost::any but with addition of the
> ability to type safe delete the held object.
I think barring this not working on any of the insanly braindamaged platforms 
like Solaris this should be in kdecore.

Cheers
	-ian reinhart geiser

- -- 
- --:Ian Reinhart Geiser <geiseri at yahoo.com>
- --:Public Key: http://geiseri.myip.org/~geiseri/publickey.asc
- --:Public Calender: http://geiseri.myip.org/~geiseri/publicevents.ics
- --:Jabber: geiseri at geiseri.myip.org
- --:Be an optimist -- at least until they start moving animals in 
- --:   pairs to Cape Canaveral. ~ Source Unknown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAjIJnPy62TRm8dvgRAt6FAKCFA9HXr4cN3bwt6JbsAiqZrCTyPgCgp5xn
44SECWhukiDzUdm/35PMgCY=
=oJtk
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list