有没有办法在运行时声明 aboost::accumulator_set
具有确定为运行时的功能?就像是:
accumulator_set *acc;
if (SomeUserInput1)
{
acc = new accumulator_set< double, features< tag::min >>;
}
if (SomeUserInput2)
{
acc = new accumulator_set< double, features< tag::min, tag::max, tag::mean, tag::... >>;
}