Submission for #1021. span_near should support boost