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.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at