------- 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