From: David Abrahams (dave_at_[hidden])
Date: 2003-06-20 07:23:57
Eric Friedman <ebf_at_[hidden]> writes:
> Aleksey (and all),
> In working on porting boost::variant to Borland, I've come across some
> trouble with a bug in the compiler.
> Specfically, I'm getting "Cannot have both a template class and
> function named 'bind1st'" and similarly for bind2nd. I know other MPL
> headers use BOOST_MPL_AUX_COMMON_NAME_WKND to work around this bogus
> I'd apply the patch myself, but due to the heavy use of preprocessed
> headers, I'm worried I won't get it completely right. So I'll leave it
> up to Aleksey (or others) to fix.
AFAICT, Aleksey is the only one who knows how to make modifications to
MPL correctly in the context of its preprocessing system. Aleksey, a
short README would totally solve this problem, wouldn't it?
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk