Boost logo

Boost Users :

Subject: Re: [Boost-users] Library Developers Battling Cyclic Header Dependency
From: Ryan (mccorywork_at_[hidden])
Date: 2011-03-16 14:34:53


On Wed, Mar 16, 2011 at 2:18 PM, Simonson, Lucanus J <
lucanus.j.simonson_at_[hidden]> wrote:

> >In the boost library system I coundn't find any .cpp files that would
> indecate a compilable library.
>

Any idea where the compilable files are in the boost library?

> assuming A.hpp is included first,

Is there a way to make the classes able to not care about which class is
included first?

> You also need to declare the functions inline to prevent multiple
> definition link errors since the classes and their member functions are not
> templated.

If the entire class is in a header doesn't this removed the need for the
inline call?

Ryan



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