Boost logo

Boost :

Subject: Re: [boost] [proto][variant] variant crashes proto expression
From: Igor R. (boost.lists_at_[hidden])
Date: 2016-05-17 15:16:53


> // The values bound to the placeholders
> Value *d[2];
<...>
> // The result of evaluating arithmetic expressions
> typedef Value& result_type;

So, you store pointers to the variants and return references, thus
preventing copying.
But why does the copying cause the aforementioned crash? Does it look like a
bug in Proto?
That's quite weird, because I never encountered any issue with variant
copying...

--
View this message in context: http://boost.2283326.n4.nabble.com/proto-variant-variant-crashes-proto-expression-tp4686019p4686162.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk