Thread View: gnu.g++.bug
1 messages
1 total messages
Started by loepere
Sat, 01 Jul 1989 00:10
pointer to data members
Author: loepere
Date: Sat, 01 Jul 1989 00:10
Date: Sat, 01 Jul 1989 00:10
17 lines
711 bytes
711 bytes
The following worked in 1.34, but not in 1.35 (the compiler claims:
"sorry, not implemented: address of bound pointer-to-member
expression"). Pointers to function members still work. - Keith
class complex
{
public:
float real;
float imag;
};
int main ()
{
float complex::*data_ptr;
data_ptr = &complex::real;
}
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads