Topic: cv-qualifer & pointer-to-member-function again


Author: cardboard.mti.sgi.com!sgi.sgi.com!uu4.psi.com!shellgate!jjpersch (Jeff J. Persch)
Date: 1996/05/14
Raw View
Let's try this one again.  Given:

  struct T;
  typedef T const TC;
  typedef void (TC::* PMF)();

What is the type of PMF?

  1) void (T::*)()
  2) void (T::*)() const

I believe the later _should_ be the correct answer.
Unfortunately, I cannot locate any text in the Apr95 WP
that would indicate the correct answer in this situation.

--
    Jeffrey J. Persch
    jjpersch@shellus.com
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]