Boost.Hana  1.5.0 Your standard library for metaprogramming
take_front.hpp File Reference

Forward declares boost::hana::take_front and boost::hana::take_front_c. More...

## Namespaces

boost::hana
Namespace containing everything in the library.

## Variables

constexpr auto boost::hana::take_front
Returns the first n elements of a sequence, or the whole sequence if the sequence has less than n elements.Given a Sequence xs and an IntegralConstant n, take_front(xs, n) is a new sequence containing the first n elements of xs, in the same order. If length(xs) <= n, the whole sequence is returned and no error is triggered. More...

template<std::size_t n>
constexpr auto boost::hana::take_front_c
Equivalent to take_front; provided for convenience. More...

## Detailed Description

Forward declares boost::hana::take_front and boost::hana::take_front_c.