 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Dave Guest
|
Posted: Thu Apr 29, 2004 12:45 am Post subject: Pointer-to-members for Standard Library member functions |
|
|
With regard to Herb's GOTW #64...
In C++ 2003, is it still the case that one cannot portably create a pointer
to a Standard Library member function? If so, is this likely to change in
C++ 0X?
Thanks,
Dave
---
[ 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://www.jamesd.demon.co.uk/csc/faq.html ]
|
|
| Back to top |
|
 |
llewelly Guest
|
Posted: Thu Apr 29, 2004 3:18 am Post subject: Re: Pointer-to-members for Standard Library member functions |
|
|
[email]better_cs_now (AT) yahoo (DOT) com[/email] ("Dave") writes:
| Quote: | With regard to Herb's GOTW #64...
In C++ 2003, is it still the case that one cannot portably create a pointer
to a Standard Library member function?
|
Yes. (Here is a thread:
groups.google.com/groups?threadm=MPG.136adff4c74fcd209896e3 (AT) news (DOT) supernews.com
)
and see 17.4.4.4/2, which hasn't changed in TC1.
| Quote: | If so, is this likely to change in
C++ 0X?
[snip] |
I don't know of any proposals ...
---
[ 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://www.jamesd.demon.co.uk/csc/faq.html ]
|
|
| Back to top |
|
 |
Pete Becker Guest
|
Posted: Fri Apr 30, 2004 5:47 am Post subject: Re: Pointer-to-members for Standard Library member functions |
|
|
Dave wrote:
| Quote: |
In C++ 2003, is it still the case that one cannot portably create a pointer
to a Standard Library member function? If so, is this likely to change in
C++ 0X?
|
The actual rule is that implementors are allowed to add default
arguments to non-virtual standard library member functions. No, it's not
likely to change.
--
Pete Becker
Dinkumware, Ltd. (http://www.dinkumware.com)
---
[ 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://www.jamesd.demon.co.uk/csc/faq.html ]
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|