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

| Boost.Hana 1.0.0 Your standard library for metaprogramming |

Namespaces | Variables
unpack.hpp File Reference

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

## Namespaces

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

## Variables

constexpr auto | boost::hana::unpack

Invoke a function with the elements of a Foldable as arguments.Given a function and a foldable structure whose length can be known at compile-time, `unpack` invokes the function with the contents of that structure. In other words, `unpack(xs, f)` is equivalent to `f(x...)`, where `x...` are the elements of the structure. The length of the structure must be known at compile-time, because the version of `f`'s `operator()` that will be compiled depends on the number of arguments it is called with, which has to be known at compile-time. More...

## Detailed Description

Forward declares `boost::hana::unpack`.

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)