This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors


------- Additional Comments From bangerth at dealii dot org  2005-07-23 04:51 -------
In your example, ptr is a type not an object. operator-> isn't applicable 
to types, only to objects. 
 
W. 

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]