More map tests and more API features implemented + tweaks to affected components

[SVN r82713]
This commit is contained in:
Joel de Guzman
2013-02-04 06:21:45 +00:00
parent aba201eb4e
commit 228401d898
6 changed files with 68 additions and 6 deletions

View File

@ -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;
};
}}}