MPL11
 All Classes Namespaces Files Typedefs Macros Groups Pages
List of all members
boost::mpl11::slice< xs, start, stop > Struct Template Reference

Returns a subrange of a list. More...

#include <boost/mpl11/fwd/list.hpp>

Detailed Description

template<typename xs, typename start, typename stop>
struct boost::mpl11::slice< xs, start, stop >

Returns a subrange of a list.

Specifically, slice returns the elements in the subrange delimited by [start, stop). In all cases, start must be non-negative and less-than or equal to stop. If the list is finite, stop must always be less-than or equal to length<xs>.