fix #454
fix compilation with edge (reference_wrapper as range)