qt-interest@trolltech.com
[Top] [All Lists]

Re: I don't understand this error

Subject: Re: I don't understand this error
From: Andreas Pakulat
Date: Mon, 27 Feb 2006 16:56:28 +0100
On 27.02.06 15:53:46, Daniel Walz wrote:
> And a question, slightly off-topic, regarding first() in 4.x:
> The documentation says there are two functions like:
> T & first ()
> const T & first () const
                     ^^^^^
> How will the compiler destinguish between these two?

Do you see it now? The compiler would complain for

T & first()
const T & first()

IIRC.

Andreas

-- 
You're at the end of the road again.

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>