[boost] best way to make {reverse_}fold a sequence