Skip to content

Commit

Permalink
Try a nop failure
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Oct 30, 2016
1 parent 4f4b1d9 commit 8e56bd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/fit/unpack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,12 @@ struct unpack_adaptor : detail::callable_base<F>
detail::unpack_join(deducer(), FIT_FORWARD(T)(x), FIT_FORWARD(Ts)(xs)...)
);
#ifdef _MSC_VER
template<class... Ts>
struct nop_failure;
template<class... Ts, class=typename std::enable_if<(
!FIT_AND_UNPACK(is_unpackable<Ts>::value)
)>::type>
static with_failures<> deduce(Ts&&... xs);
static as_failure<nop_failure> deduce(Ts&&... xs);
#endif
template<class... Ts>
struct of
Expand Down

0 comments on commit 8e56bd2

Please sign in to comment.