| 375 | } |
| 376 | |
| 377 | const mapped_type at(const key_type &key) const |
| 378 | { |
| 379 | const_iterator iter = find(key); |
| 380 | if(iter == end()){ |
| 381 | BOOST_THROW_EXCEPTION(std::out_of_range("key not found")); |
| 382 | } |
| 383 | |
| 384 | return value_type(*iter).second; |
| 385 | } |
| 386 | |
| 387 | detail::buffer_value<mapped_type> operator[](const key_type &key) |
| 388 | { |