Boost logo

Boost Users :

Subject: Re: [Boost-users] [variant] Possible regression from 1.55 to 1.58
From: Maarten de Vries (maarten_at_[hidden])
Date: 2015-08-11 11:36:33


On 11 August 2015 at 11:46, Mario Lang <mlang_at_[hidden]> wrote:

> Hi.
>
>
> The example is a bit silly, since foreach discards the return value of
> apply_visitor anyway. So my solution was to change the visitor to
> define result_type as void. This works. However, I am wondering why
> delayed_visitor does no longer work in this situation? Is it because I
> am trying to return a reference?
>
>
​Could you also tell us which compiler and OS you're using and what the
compiler error is?

-- Maarten​



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net