Boost logo

Boost Users :

Subject: [Boost-users] [Fusion] fusion::for_each with stateful functors
From: Paul Graphov (graphov_at_[hidden])
Date: 2010-09-20 06:57:01

Hello Boost Users,

More than three years ago this question arose in this list:

And as I understand it was concluded that overload for non-const references
should be added.
But now there are only const references to functor available. Was it
forgotten or there are some
reasons not to have such overload?

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


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at