From mboxrd@z Thu Jan 1 00:00:00 1970 From: mps@sonartech.com.au To: gcc-gnats@gcc.gnu.org Subject: c++/3020: using operator-> within the class that defines it Date: Thu, 31 May 2001 21:16:00 -0000 Message-id: <20010601041013.23865.qmail@sourceware.cygnus.com> X-SW-Source: 2001-05/msg01075.html List-Id: >Number: 3020 >Category: c++ >Synopsis: using operator-> within the class that defines it >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Thu May 31 21:16:05 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Michael Shepanski >Release: gcc version 2.95.2 19991024 (release) >Organization: >Environment: Linux/Pentium >Description: When operator->() is defined within a class B, gcc does not apply it to expressions of the form "this->x" from within class B (although it has no trouble when the expression is spelled out as "this->operator()->x"). >How-To-Repeat: $ gcc tmp.cpp >Fix: please >Release-Note: >Audit-Trail: >Unformatted: