This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: :? ??
- From: Michael Matz <matzmich at cs dot tu-berlin dot de>
- To: Joe Buck <Joe dot Buck at synopsys dot com>
- Cc: Allan Sandfeld Jensen <snowwolf at one2one-networks dot com>, <gcc at gcc dot gnu dot org>
- Date: Tue, 19 Mar 2002 18:54:26 +0100 (MET)
- Subject: Re: :? ??
Hi,
On Tue, 19 Mar 2002, Joe Buck wrote:
> > Is it doing:
> > (exp) ? QString("xyz") : a
> > or
> > QString(exp ? "xyz" : (const char*)a);
>
> Does QString define an operator const char*() ?
Under certain circumstances. In "strict" mode it doesn't.
Ciao,
Michael.