This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RFC: mp = &o.f;
- From: Christian Parpart <cparpart at surakware dot net>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 17 Mar 2003 11:40:18 +0100
- Subject: RFC: mp = &o.f;
- Organization: SurakWare
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi all,
I am not a gcc developer but I am using g++ extensively for coding.
Our code is also compilable on windows using borland c++ compiler (bcc).
We have just one problem, member pointers.
while bcc supports such contructs of assigning member pointer functions
as in the subject, gcc unfortunately doesn't. Of course, the standard doesn't
say this ATM, but it will do in next - amongst other things I'd already like
to see even now.
You actually need to use a boost::functionN<> or Loki's functor<> template
class to use such constructs or even implement the wheel yourself.
However, is there any plan to support such constructs in g++ natively?
If so, or even if so just in 3.3, or why not, please tell me. I am interested
in ;)
Best regards,
Christian Parpart.
p.s.: please also CC to sebmol at surakware dot net thx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+daYSPpa2GmDVhK0RAhPzAJ4yVWezyzmrelf69pu0XTLST6XhEQCaAxZR
e6b59ZMd2W7DX6Q2KjXeEao=
=NpbD
-----END PGP SIGNATURE-----