Boost.Hana  1.1.0
Your standard library for metaprogramming
front.hpp File Reference

Forward declares boost::hana::front. More...


 Namespace containing everything in the library.


constexpr auto boost::hana::front
 Returns the first element of a non-empty iterable.Given a non-empty Iterable xs with a linearization of [x1, ..., xN], front(xs) is equal to x1. If xs is empty, it is an error to use this function. Equivalently, front(xs) must be equivalent to at_c<0>(xs), and that regardless of the value category of xs (front must respect the reference semantics of at). More...

Detailed Description

Forward declares boost::hana::front.