forked from boostorg/container
Container, Interprocess, Intrusive, Move merge for 1.54
[SVN r84341]
This commit is contained in:
1 parent
14f376128a
commit
53bd56aca1
20 files changed
+3137
-800
No files matched your search
@@ -22,13 +22,14 @@
|
||||
#include <utility>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
#include <boost/container/detail/flat_tree.hpp>
|
||||
#include <boost/type_traits/has_trivial_destructor.hpp>
|
||||
#include <boost/container/detail/mpl.hpp>
|
||||
#include <boost/container/allocator_traits.hpp>
|
||||
#include <boost/container/throw_exception.hpp>
|
||||
#include <boost/move/utility.hpp>
|
||||
#include <boost/move/detail/move_helpers.hpp>
|
||||
#include <boost/detail/no_exceptions_support.hpp>
|
||||
|
||||
namespace boost {
|
||||
namespace container {
|
||||
@@ -478,7 +479,7 @@ class flat_map
|
||||
{
|
||||
iterator i = this->find(k);
|
||||
if(i == this->end()){
|
||||
throw std::out_of_range("key not found");
|
||||
throw_out_of_range("flat_map::at key not found");
|
||||
}
|
||||
return i->second;
|
||||
}
|
||||
@@ -492,7 +493,7 @@ class flat_map
|
||||
{
|
||||
const_iterator i = this->find(k);
|
||||
if(i == this->end()){
|
||||
throw std::out_of_range("key not found");
|
||||
throw_out_of_range("flat_map::at key not found");
|
||||
}
|
||||
return i->second;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user