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:
@@ -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>);
|
||||
|
||||
Reference in New Issue
Block a user