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

Returns the first n elements of a List. More...

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

Detailed Description

template<typename n, typename xs>
struct boost::mpl11::take< n, xs >

Returns the first n elements of a List.

n must be a non-negative Integer representing the number of elements to keep. If n is greater than the length of the List, the whole List is returned.