Boost logo

Boost :

Subject: Re: [boost] Forward declaration headers
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2012-09-10 07:40:21


On Mon, Sep 10, 2012 at 1:32 AM, Jens Auer <jensa_at_[hidden]> wrote:

> Hi,
>
> we often have to provide forward declarations of boost types by hand when
> we write interfaces. This is kind of dangerous because we will have to
> change the forward declarations when the boost libraries change and
> impossible for typedefs. Shouldn't there be a standard forward declaration
> headers in each of the boost libraries?
>

Perhaps, and some do provide forward declarations, e.g., Boost.Unordered. A
start might be to file a trac ticket against those libraries for which you
specifically need forward declarations, and providing the necessary
patch(es).

- Jeff


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