Forward declaration headers

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? Best regards, Jens

On Mon, Sep 10, 2012 at 1:32 AM, Jens Auer <jensa@miltenyibiotec.de> 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
participants (2)
-
Jeffrey Lee Hellrung, Jr.
-
Jens Auer