Topic: How to parse a member pointer
Author: Juergen.Vollmer@acm.org
Date: 1998/06/30 Raw View
Hello,
given the following declarations
class C1 { public: class C3 { }; };
class C2 { public: class C1 { }; };
class C3 { };
how should
C2::C1::C3::*p;
be parsed?
Should it be like:
C2::C1 C3::* p1; // 1
or
C2 C1::C3::* p2; // 2
or
is this an illegal program?
Please could you give hints to the CD2?
With best regards
Juergen Vollmer
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]