Subject: Re: [boost] [cpo-proposal] presentation of the idea
From: Klaim - JoÃ«l Lamotte (mjklaim_at_[hidden])
Date: 2013-08-13 12:35:32
On Tue, Aug 13, 2013 at 2:42 PM, Larry Evans <cppljevans_at_[hidden]>wrote:
> What if the class hierarchy is used to model a graph that
> contains cycles. For example, something like a spirit grammar
> where a non-terminal on the rhs of a non-terminals definition?
> Wouldn't this require some sort of smart pointer or other
> garbage collection method with the ability to collect cycles?
My understanding of the proposed container is that it's mostly like having
of vectors, one for each final types, but exposing only one base interface
in container interface.
If I'm correct, I don't see how the problem you describe might be a problem.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk