Boost logo

Boost :

Subject: Re: [boost] [type_traits] is_base_of<B, D> should work when B is incomplete
From: Peter Dimov (lists_at_[hidden])
Date: 2016-03-04 05:35:52


Andrzej Krzemienski wrote:

> This used to be an option, until we introduced the concept of Boost
> library dependencies.
>
> If I include a header with an empty definition of
> boost::in_place_factory_base, I introduce a dependency between
> Boost.Optional and Boost.Utility.

This is not a problem at the moment because Optional already requires
Utility:

C:\Projects\boost-git\boost>dist\bin\boostdep optional
Primary dependencies for optional:

[...]

utility:
    <boost/utility/compare_pointees.hpp>
        from <boost/optional/optional.hpp>

and, besides, Utility is no longer the monster it once was.


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