
20 Apr
2004
20 Apr
'04
4:24 p.m.
David Abrahams wrote:
Pro8 is having trouble parsing these templates. Any ideas, Peter?
template<class R, class T> inline _mfi::dm<R, T> unwrap(R T::* * pm, int) { return _mfi::dm<R, T>(*pm); }
template<class R, class T> inline _mfi::dm<R, T> unwrap(R T::* const * pm, int) { return _mfi::dm<R, T>(*pm); }
IIRC these support bind<R&>(&X::r, _1). Comment them out for cw8 and see if anything breaks. :-) (I hate these old compilers.)