C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Pointer-to-members for Standard Library member functions

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language, library and standards
View previous topic :: View next topic  
Author Message
Dave
Guest





PostPosted: Thu Apr 29, 2004 12:45 am    Post subject: Pointer-to-members for Standard Library member functions Reply with 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? 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





PostPosted: Thu Apr 29, 2004 3:18 am    Post subject: Re: Pointer-to-members for Standard Library member functions Reply with quote



[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





PostPosted: Fri Apr 30, 2004 5:47 am    Post subject: Re: Pointer-to-members for Standard Library member functions Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language, library and standards All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.