Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost][accumulators]: runtime accumulator_set construction?
From: Matthias Troyer (troyer_at_[hidden])
Date: 2009-08-14 16:17:26


On Aug 14, 2009, at 12:32 PM, Stephen Nuchia wrote:

> Forgive me, my brain still thinks in C... or C++'86 on a good day.
>
> Looking at the documentation for Accumulators, and given what I
> think I
> understand about C++ metaprogramming, it looks as though the
> dependency
> resolution mechanisms in the accumulator framework operate only at
> compile time.
>
> Is this right? Is runtime specification of a set of features
> possible?

You can drop certain features at runtime but cannot add new ones. The
purpose of the library was optimal efficiency. For runtime
configurability you can just prepare several accumulator sets with
various features, and then mix and match as you need it.

Matthias


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