0
有没有办法在运行时声明确定为运行时的功能boost::accumulator_set
? 类似于:在运行时初始化boost :: 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::... >>;
}