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

View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at