Test, implement and document 'at'.

[SVN r41125]
This commit is contained in:
Daniel James
2007-11-16 00:31:12 +00:00
parent 7da16a62a4
commit f0c62d3f0f
7 changed files with 77 additions and 0 deletions

View File

@ -211,6 +211,16 @@ namespace boost
return base[k].second;
}
mapped_type& at(const key_type& k)
{
return base.at(k).second;
}
mapped_type const& at(const key_type& k) const
{
return base.at(k).second;
}
// lookup
iterator find(const key_type& k)