forked from boostorg/fusion
- patch from nathan ridge
- fixed deque regression [SVN r80458]
This commit is contained in:
@ -93,7 +93,9 @@ namespace boost { namespace fusion { namespace detail
|
||||
return value_;
|
||||
}
|
||||
|
||||
keyed_element(Value const& value, Rest const& rest)
|
||||
keyed_element(
|
||||
typename detail::call_param<Value>::type value
|
||||
, Rest const& rest)
|
||||
: Rest(rest), value_(value)
|
||||
{}
|
||||
|
||||
|
@ -38,12 +38,13 @@ namespace boost { namespace fusion { namespace detail
|
||||
);
|
||||
}
|
||||
|
||||
static type forward_(Head&& head, Tail&&... tail)
|
||||
template <typename Head_, typename ...Tail_>
|
||||
static type forward_(Head_&& head, Tail_&&... tail)
|
||||
{
|
||||
return type(
|
||||
std::forward<Head>(head)
|
||||
, deque_keyed_values_impl<next_index, Tail...>::
|
||||
forward_(std::forward<Tail>(tail)...)
|
||||
std::forward<Head_>(head)
|
||||
, deque_keyed_values_impl<next_index, Tail_...>::
|
||||
forward_(std::forward<Tail_>(tail)...)
|
||||
);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user