Boost logo

Boost Users :

Subject: Re: [Boost-users] Compiler error when using property map get()
From: Trevor Harmon (Trevor.W.Harmon_at_[hidden])
Date: 2010-07-06 18:25:46


On Jul 2, 2010, at 5:13 PM, Jeremiah Willcock wrote:

> I think you may not want to inherit from Boost classes; they are not
> designed for that. You will probably get more predictable behavior
> if you
> just have the subgraph as a member rather than as a base class.

I see. I'll do that then.

Is there any discussion of this issue ("inheriting from Boost classes
considered harmful") somewhere in the Boost docs? (I never noticed
one.) Given that Boost is a C++ framework, I'm sure I won't be the
last person to try to specialize the classes via inheritance. Just a
simple "there be dragons here" admonition would suffice.

Trevor


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