Revised noexcept expressions of default and move constructors in all containers.

This commit is contained in:
Ion Gaztañaga
2016-08-01 23:49:51 +02:00
parent b6d3906895
commit 225e2da77e
15 changed files with 75 additions and 43 deletions

View File

@@ -591,7 +591,7 @@ class basic_string
//! <b>Effects</b>: Default constructs a basic_string.
//!
//! <b>Throws</b>: If allocator_type's default constructor throws.
basic_string()
basic_string() BOOST_NOEXCEPT_IF(container_detail::is_nothrow_default_constructible<Allocator>::value)
: base_t()
{ this->priv_terminate_string(); }