2
0
mirror of https://github.com/boostorg/hof.git synced 2026-01-31 20:22:11 +00:00

Make constructor unconstrained for msvc

This commit is contained in:
Paul Fultz II
2015-06-14 18:13:00 -07:00
parent e81e41c580
commit c93a49337d

View File

@@ -44,6 +44,7 @@ struct combine_adaptor_base<seq<Ns...>, F, Gs...>
template<class... Ts>
struct combine_result
: result_of<const F&, result_of<const Gs&, id_<Ts>>...>
// : result_of<const F&, id_<Ts>...>
{};
template<class... Ts>
@@ -63,7 +64,12 @@ struct combine_adaptor
: detail::combine_adaptor_base<typename detail::gens<sizeof...(Gs)>::type, F, Gs...>
{
typedef detail::combine_adaptor_base<typename detail::gens<sizeof...(Gs)>::type, F, Gs...> base_type;
FIT_INHERIT_CONSTRUCTOR(combine_adaptor, base_type)
template<class... Ts>
constexpr combine_adaptor(Ts&&... xs)
: base_type(fit::forward<Ts>(xs)...)
{}
// FIT_INHERIT_CONSTRUCTOR(combine_adaptor, base_type)
};
FIT_DECLARE_STATIC_VAR(combine, detail::make<combine_adaptor>);