Boost logo

Boost Users :

Subject: [Boost-users] Fwd: boost::range : sliced vs copied
From: Rafaël Fourquet (fourquet.d+boost_at_[hidden])
Date: 2011-06-06 13:28:15


What is the difference between the two boost::adaptors functions sliced and
copied?
Looking at the code, one can see that copied uses sliced, but I am not sure
if there is a subtle difference.
Maybe it could be explained in the docs.
Moreover, the docs say that sliced returns "make_range(rng, n, m)", but I
could not find the documentation for make_range (and only found a function
with this name in the range_detail namespace, but which does not
correspond).
Thanks!



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net