2
0
mirror of https://github.com/boostorg/hof.git synced 2026-01-21 04:52:20 +00:00
Files
hof/test/fail/unpack.cpp
2017-03-22 19:46:23 -05:00

21 lines
263 B
C++

#include <fit/unpack.hpp>
struct foo
{};
namespace fit {
template<>
struct unpack_sequence<foo>
{
template<class F, class S>
constexpr static int apply(F&&, S&&)
{
return 0;
}
};
}
int main() {
fit::unpack(fit::always(1))(foo{});
}