I've recently read the User's Guide of Boost.Accumulator
There is a chapter named "Droppable Accumulators" which illustrates how to use "accumulators that can be removed from the accumulator_set<>
". The whole section was talking about how it might cause trouble. But why do we want to use droppable accumulators? What is the advantage of this feature?
Asked
Active
Viewed 60 times
2

Home3
- 131
- 6
1 Answers
0
perhaps declaring accumulator_set with all possible and potentially useful features and then dropping unused ones according to end user runtime configuration to keep only required would be one of the scenarios. see also Initialize a boost::accumulator_set at runtime

Vladimir Ulchenko
- 463
- 2
- 8