Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-29 14:19:31


Tom Matelich <tmatelich_at_[hidden]> writes:

>>
>> I think I agree with Markus that it is in fact broken. It's easy to
>> imagine dependency scenarios like this:
>>
>> lambda <-- libA <-\
>> }--> App
>> bind <-- libB <-/
>>
>> The guy writing App shouldn't have to be aware of the dependency
>> conflict between libA and libB.
>
> Isn't this only a problem within translation units?

Yes.

> I suppose lambda and bind might be included in headers from libA and
> libB into a single translation unit in App, but seems unlikely.

Seems perfectly plausible to me. I had exactly this sort of conflict
between MPL and Bind in Boost.Python.

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net