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

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


 Namespace containing everything in the library.


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.