title: How to determine equivalence between `ranges::view` object and `std::vector`?
body: <p>I'm using the excellent <a href="https://github.com/ericniebler/range-v3" rel="nofollow noreferrer">range-v3</a> library. One of my functions returns a <code>ranges::view</code> object which I'd like to compare to a <code>std::vector</code>. Of course, I can compare element-by-element, but there's got to be a better way.</p>
  
  <blockquote>
    <p>How to determine equivalence between <code>ranges::view</code> object and <code>std::vector</code>?</p>
  </blockquote>