Boost.Hana  1.4.0
Your standard library for metaprogramming
take_back.hpp File Reference

Forward declares boost::hana::take_back. More...


 Namespace containing everything in the library.


constexpr auto boost::hana::take_back
 Returns the last 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_back(xs, n) is a new sequence containing the last 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_back_c
 Equivalent to take_back; provided for convenience. More...

Detailed Description

Forward declares boost::hana::take_back.