
I'm trying to define an accumulator for complex types, abs_sqr. The test program is attached. I get an error from gcc-4.3.2 which I've never seen, and is not informative: test_acc.cc:39: error: argument dependent lookup finds ‘struct boost::accumulators::tag::abs_sqr’ test_acc.cc:48: error: in call to ‘abs_sqr’

AMDG Neal Becker wrote:
I'm trying to define an accumulator for complex types, abs_sqr. The test program is attached. I get an error from gcc-4.3.2 which I've never seen, and is not informative:
test_acc.cc:39: error: argument dependent lookup finds ‘struct boost::accumulators::tag::abs_sqr’ test_acc.cc:48: error: in call to ‘abs_sqr’
What do you want this to do?
template
participants (2)
-
Neal Becker
-
Steven Watanabe