forked from boostorg/fusion
More map tests and more API features implemented + tweaks to affected components
[SVN r82713]
This commit is contained in:
@ -38,6 +38,10 @@ namespace boost { namespace fusion { namespace detail
|
||||
map_impl(Iterator const& iter, map_impl_from_iterator)
|
||||
{}
|
||||
|
||||
template <typename Iterator>
|
||||
void assign(Iterator const& iter, map_impl_from_iterator)
|
||||
{}
|
||||
|
||||
void get();
|
||||
void get_val();
|
||||
void get_key();
|
||||
@ -158,6 +162,13 @@ namespace boost { namespace fusion { namespace detail
|
||||
return *this;
|
||||
}
|
||||
|
||||
template <typename Iterator>
|
||||
void assign(Iterator const& iter, map_impl_from_iterator fi)
|
||||
{
|
||||
rest_type::assign(fusion::next(iter), fi);
|
||||
element = *iter;
|
||||
}
|
||||
|
||||
Pair element;
|
||||
};
|
||||
}}}
|
||||
|
Reference in New Issue
Block a user