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

Forward declares boost::hana::drop_back. More...


 Namespace containing everything in the library.


constexpr auto boost::hana::drop_back
 Drop the last n elements of a finite sequence, and return the rest.Given a finite Sequence xs with a linearization of [x1, ..., xm] and a non-negative IntegralConstant n, drop_back(xs, n) is a sequence with the same tag as xs whose linearization is [x1, ..., xm-n]. If n is not given, it defaults to an IntegralConstant with a value equal to 1. More...

Detailed Description

Forward declares boost::hana::drop_back.