Boost.Hana: boost/hana/fwd/back.hpp File Reference

| Boost.Hana 1.0.0 Your standard library for metaprogramming |

Namespaces | Variables
back.hpp File Reference

Forward declares `boost::hana::back`. More...

## Namespaces

| boost
| boost::hana
| Namespace containing everything in the library.

## Variables

constexpr auto | boost::hana::back

Returns the last element of a non-empty and finite iterable.Given a non-empty and finite iterable `xs` with a linearization of `[x1, ..., xN]`, `back(xs)` is equal to `xN`. Equivalently, `back(xs)` must be equivalent to `at_c<N-1>(xs)`, and that regardless of the value category of `xs` (`back` must respect the reference semantics of `at`). More...

## Detailed Description

Forward declares `boost::hana::back`.

Copyright
  Louis Dionne 2013-2016 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)