merge [83305] from trunk, fixes #7917

svn path=/branches/release/boost/accumulators/; revision=83391
merge [83308] and [83392] from trunk, fixes #6926

svn path=/branches/release/boost/accumulators/; revision=83633