From c93a49337dfd1bcef6153e7cf466b29922b3df3c Mon Sep 17 00:00:00 2001 From: Paul Fultz II Date: Sun, 14 Jun 2015 18:13:00 -0700 Subject: [PATCH] Make constructor unconstrained for msvc --- fit/combine.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fit/combine.h b/fit/combine.h index bd215f2..d4cd35a 100644 --- a/fit/combine.h +++ b/fit/combine.h @@ -44,6 +44,7 @@ struct combine_adaptor_base, F, Gs...> template struct combine_result : result_of>...> + // : result_of...> {}; template @@ -63,7 +64,12 @@ struct combine_adaptor : detail::combine_adaptor_base::type, F, Gs...> { typedef detail::combine_adaptor_base::type, F, Gs...> base_type; - FIT_INHERIT_CONSTRUCTOR(combine_adaptor, base_type) + + template + constexpr combine_adaptor(Ts&&... xs) + : base_type(fit::forward(xs)...) + {} + // FIT_INHERIT_CONSTRUCTOR(combine_adaptor, base_type) }; FIT_DECLARE_STATIC_VAR(combine, detail::make);