[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KURL::url
From: Werner Trobin <trobin () kde ! org>
Date: 2001-09-28 6:40:55
[Download RAW message or body]
Charles Samuels wrote:
>
> I'de like to quickly propose a ...
>
> KURL::operator QString() const { return url(); }
Please don't do that. This can lead to nasty bugs and strange
behavior. Guess why the STL string template doesn't have an
operator const char* , but rather the method c_str() ;)
Just MHO,
Werner
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic