------- Additional Comments From gdr at gcc dot gnu dot org  2005-06-29 14:41 
-------
(In reply to comment #5)
> Subject: Re:  g++ 4.0.0 has issues
>  with the typedef of reference
> 
> Well it compiles perfectly fine on a Sun Solaris Machine with 
> Sun Studio 9 installed that has the Sun CC compiler.  Also It 
> was written by a Computer Science Professor at the University 
> of Illinois at Urbana-Champaign, a school ranked in the list 
> of the top 5 in the nation for Computer Science.  What does 
> not look like C++ to you, 
> 
> This is a templated overloaded operator*() that has a return 
> type as a const reference to the element type.  Returns by 
> const_reference the cell storing the element to which this 
> const_iterator points to.  
> 
> I dont know if you are confusing this with Java or not but 
> there is at least one thing that distinguishes Java from C++ 
> which is the fact that C++ supports Operator Overloading 
> while Java does not and this function you looked at is an 
> Overloaded Operator.

Thanks for the lecture.

I understand that every young student thinks whatever his professor
says is Right and if he is in the top X schools of his country,
he must be Right and pointing out that he should check his allegations 
is perversion that should not be allowed.  Unfortunately, that is not
the way knowledge works.

I'm here to help you, from my free time.
Obviously, you do not understand enough C++ to pretend to lecture people.
So, in the future, when you have problem with GCC we're very happy to
help you. But please do refrain from lecturing us about your
professor, what your school or C++ is.
That would save from the embarassment of exposing your lack of proper
education.

Thanks.

-- Gaby

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22227

Reply via email to