Re: Is there analog of std::mem_fun_t, but for data members?
- From: "Tom Widmer [VC++ MVP]" <tom_usenet@xxxxxxxxxxx>
- Date: Tue, 04 Apr 2006 09:48:21 +0100
Alex Blekhman wrote:
Tom Widmer [VC++ MVP] wrote:
Alex Blekhman wrote:
Hello,
I can use std::mem_fun_t as an adaptor for class' member
function. Sometimes I need to access data member in the
same manner. I searched for appropriate adaptor in STL
to no avail.
[snip]
Is there anything in STL that I could use instead of this
home grown class?
No. However, std::tr1::mem_fn (e.g. boost::mem_fn) handles
pointers-to-member.
Thanks. However, boost is not an option for now. I hope next version developmnet will incorporate boost.
With luck, VC9 will incorporate std::tr1 - Dinkumware are certainly working on an implementation.
Tom
.
- Follow-Ups:
- Re: Is there analog of std::mem_fun_t, but for data members?
- From: Alex Blekhman
- Re: Is there analog of std::mem_fun_t, but for data members?
- References:
- Is there analog of std::mem_fun_t, but for data members?
- From: Alex Blekhman
- Re: Is there analog of std::mem_fun_t, but for data members?
- From: Tom Widmer [VC++ MVP]
- Re: Is there analog of std::mem_fun_t, but for data members?
- From: Alex Blekhman
- Is there analog of std::mem_fun_t, but for data members?
- Prev by Date: Re: interface programming
- Next by Date: Re: interface programming
- Previous by thread: Re: Is there analog of std::mem_fun_t, but for data members?
- Next by thread: Re: Is there analog of std::mem_fun_t, but for data members?
- Index(es):
Loading