Boost logo

Boost :

Subject: Re: [boost] [type_traits] Rewrite and dependency free version
From: Stephen Kelly (hello_at_[hidden])
Date: 2015-02-01 09:08:42


John Maddock wrote:

>>> Note that we need some kind of markup facility to deal with optional
>>> dependencies anyway - to avoid the "everything depends on Serialization"
>>> issue.
>>
>> Circular dependencies won't work well with clang/c++17 'modules'.
>> Strongly connected components form what I called 'incidental modules' in
>> previous emails.
>>
>> Find a way to convince Robert to allow splitting serialization.
>
> That doesn't solve the issue I was referring to: namely library X
> depends on Y *only* if you're using Y anyway. Serialization being a
> prime example: many libraries "apparently" depend on it, but the
> dependency is only a true one if you're using serialization anyway.

Yes. Reducing the dependencies of the part of serialization which are
required in such cases would solve the problem in those cases. Depending on
that part of serialization should be 'not a problem'.

But, yes. All of this is 'an unsolved problem'. I think the serialization
case is solvable though, distinct from the general 'library X library Y'
problem.

Thanks,

Steve.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk