forked from boostorg/fusion
fixed bug where first element is convertible from input sequence
[SVN r37475]
This commit is contained in:
@ -104,7 +104,10 @@
|
|||||||
template <typename Sequence>
|
template <typename Sequence>
|
||||||
BOOST_PP_CAT(vector, N)(
|
BOOST_PP_CAT(vector, N)(
|
||||||
Sequence const& seq
|
Sequence const& seq
|
||||||
, typename disable_if<is_convertible<Sequence, T0> >::type* dummy = 0)
|
#if (N == 1)
|
||||||
|
, typename disable_if<is_convertible<Sequence, T0> >::type* dummy = 0
|
||||||
|
#endif
|
||||||
|
)
|
||||||
: base_type(base_type::init_from_sequence(seq)) {}
|
: base_type(base_type::init_from_sequence(seq)) {}
|
||||||
|
|
||||||
template <BOOST_PP_ENUM_PARAMS(N, typename U)>
|
template <BOOST_PP_ENUM_PARAMS(N, typename U)>
|
||||||
|
Reference in New Issue
Block a user