/*============================================================================= Copyright (c) 2016 Paul Fultz II unpack_sequence.hpp Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #ifndef FIT_GUARD_UNPACK_SEQUENCE_HPP #define FIT_GUARD_UNPACK_SEQUENCE_HPP /// unpack_sequence /// =============== /// /// How to unpack a sequence can be defined by specializing `unpack_sequence`. /// By default, `std::tuple` is already specialized. /// /// Synopsis /// -------- /// /// template /// struct unpack_sequence; /// /// Example /// ------- /// /// #include /// #include /// /// template /// struct my_sequence; /// /// namespace fit { /// template /// struct unpack_sequence> /// { /// template /// constexpr static auto apply(F&& f, Sequence&& s) FIT_RETURNS /// ( /// s(std::forward(f)) /// ); /// }; /// } // namespace fit /// /// int main() { /// } /// /// See Also /// -------- /// /// * [unpack](unpack) /// #include namespace fit { template struct unpack_sequence { typedef void not_unpackable; }; } // namespace fit #endif