Boost logo

Boost Users :

Subject: Re: [Boost-users] [Fusion] fusion::for_each with stateful functors
From: TONGARI (tongari95_at_[hidden])
Date: 2010-09-20 13:45:42


2010/9/20 Paul Graphov <graphov_at_[hidden]>

> What is the best way to solve the problem? Mutable members or some proxies
> look quirky.
>

I do use some proxies, like fref<Signature>(functor) which returns a
functor_reference_wrapper to solve this.

fref is what I made myself, not part of Boost, I don't know if anyone else
would think this useful.



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