Boost logo

Proto :

Subject: Re: [proto] Deep copy while keeping references in terminals
From: Bart Janssens (bart.janssens_at_[hidden])
Date: 2011-07-04 09:38:20


On Sun, Jul 3, 2011 at 7:07 PM, Eric Niebler <eric_at_[hidden]> wrote:
> /themselves/ held by reference, or if you want the values referred to by
> the terminals held by reference but the terminal nodes held by value. I
> implemented the second:

Hi Eric,

Many thanks, this is exactly what I needed. The key part that I
missed was the '_byval' transform. This will make my code much shorter
(I was using wrapper classes using a pointer to work around the
problem).

Cheers,

-- 
Bart

Proto list run by eric at boostpro.com