|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2000-07-06 22:58:31
If we adopt a fix like this one, be sure to only do it for __MWERKS__ <=
<current-version>.
They've probably ;) fixed this bug in the next version already.
-Dave
----- Original Message -----
From: "Fabrice Truillot" <fte_at_[hidden]>
> #if defined (__MWERKS__)
> #define BOOST_NO_POINTER_TO_MEMBER_CONST
> #endif
>
> and...
>
> #if !defined (BOOST_NO_POINTER_TO_MEMBER_CONST)
> template<class S, class T, class A>
> inline const_mem_fun1_ref_t<S,T,A> mem_fun_ref(S (T::*f)(A) const)
> {
> return const_mem_fun1_ref_t<S,T,A>(f);
> }
> #endif
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk