#include struct foo {}; namespace fit { template<> struct unpack_sequence { template constexpr static auto apply(F&&, S&& s) FIT_RETURNS(s.bar); }; } int main() { fit::unpack(fit::always(1))(foo{}); }