Topic: Why member function adaptors don't take methods with reference arguments into account ?


Author: "Piotr Dobrogost" <pbc@poczta.onet.pl>
Date: Wed, 11 Jul 2001 18:22:37 GMT
Raw View
Hej,

"Boris Bralo" <boris.bralo@zg.tel.hr> wrote in message
news:9i1idq$5mea$1@as201.hinet.hr...
> Hi
>
> > I'm trying to use member function adaptors from <functional> but I
noticed
> > there are no versions adapting methods which arguments are of reference
> > type.
>
> It's known problem. For proposed resolution see C++ standard core active
> issues list on
> http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_active.html#106 . However,
if
> it's too long for you to wait for next C++ standard, you can check boost
> library (http://www.boost.org/libs/functional/index.html) for different
> solution.

Thank You.

Piotr


---
[ 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.research.att.com/~austern/csc/faq.html                ]





Author: "Piotr Dobrogost" <pbc@poczta.onet.pl>
Date: Tue, 3 Jul 2001 17:04:46 GMT
Raw View
Hello,

I'm trying to use member function adaptors from <functional> but I noticed
there are no versions adapting methods which arguments are of reference
type. Why is that ? Is this connected witch problems with binders taking
references ? I think it's not. These adaptors store only one pointer (to
method) and don't store any arguments.

Thanks in advance,

Piotr Dobrogost


---
[ 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.research.att.com/~austern/csc/faq.html                ]





Author: "Boris Bralo" <boris.bralo@zg.tel.hr>
Date: Thu, 5 Jul 2001 17:18:12 GMT
Raw View
Hi

> I'm trying to use member function adaptors from <functional> but I noticed
> there are no versions adapting methods which arguments are of reference
> type.

It's known problem. For proposed resolution see C++ standard core active
issues list on
http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_active.html#106 . However, if
it's too long for you to wait for next C++ standard, you can check boost
library (http://www.boost.org/libs/functional/index.html) for different
solution.

Take care,
Boris


---
[ 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.research.att.com/~austern/csc/faq.html                ]