[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdepim/libkcal
From:       Matthias Kretz <kretz () kde ! org>
Date:       2006-04-28 9:05:57
Message-ID: 200604281105.57993.kretz () kde ! org
[Download RAW message or body]


On Friday, 28. April 2006 09:36, Stephan Kulow wrote:
> I know const_cast<KCal::Incidence*>(this) is considered hip, but
> as a matter of fact it's undefined behaviour and every compiler is
> free to create crashing code

It is undefined behaviour? So const_cast is allowed for everything except the 
this pointer?

-- 
C'ya
        Matthias
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz@gmx.net, kretz@kde.org,
Matthias.Kretz@urz.uni-heidelberg.de

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic