From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-08-20 13:32:28
Ah, yes; I remember now.
Thanks for the reminder.
----- Original Message -----
From: "Darin Adler" <darin_at_[hidden]>
Sent: Monday, August 20, 2001 1:17 PM
Subject: Re: [boost] More comments on the Bind library submission?
> On Monday, August 20, 2001, at 09:38 AM, David Abrahams wrote:
> > What are the issues with iterator_adaptors?
> The issue is simply that iterator_adaptor.hpp has a nested class template
> named bind in it, and due to a bug in the MSVC compiler, that causes the
> bind<X>(...) syntax that's a valid use of the Bind library to malfunction.
> To quote the "MSVC specific problems and workarounds" part of the
> documentation at <http://www.mmltd.net/pdimov/bind.html>, "The second
> problem is that some libraries contain nested class templates named bind
> (ironically, such code is often an MSVC specific workaround.) Due to some
> quirks with the parser, such a class template breaks the bind<R>(...)
> syntax, even when the name bind is fully qualified. You may try to patch
> the library in question or contact its author/maintainer. The other option
> is to define the macro BOOST_BIND to something other than bind (before the
> inclusion of <boost/bind.hpp>) and use this identifier throughout your
> code wherever you'd normally use bind."
> -- Darin
> Info: http://www.boost.org Unsubscribe:
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk