Boost logo

Boost :

Subject: Re: [boost] [iterator] function_output_iterator constructed from a lambda function is not assignable
From: Peter Dimov (lists_at_[hidden])
Date: 2016-02-14 22:17:35


Paul Fultz II wrote:

> One way to deal with this is to put it into boost::optional.

boost::optional<T> uses T::operator= when the source and the target hold a
value.


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