mirror of
https://github.com/boostorg/container.git
synced 2025-08-03 14:34:27 +02:00
- Remove wrong explicit default constructor for flat_[multi]set.
- Add missing forceinline to flat_map
This commit is contained in:
@@ -199,7 +199,7 @@ class flat_map
|
|||||||
//! <b>Effects</b>: Default constructs an empty flat_map.
|
//! <b>Effects</b>: Default constructs an empty flat_map.
|
||||||
//!
|
//!
|
||||||
//! <b>Complexity</b>: Constant.
|
//! <b>Complexity</b>: Constant.
|
||||||
flat_map() BOOST_NOEXCEPT_IF(container_detail::is_nothrow_default_constructible<Allocator>::value &&
|
BOOST_CONTAINER_FORCEINLINE flat_map() BOOST_NOEXCEPT_IF(container_detail::is_nothrow_default_constructible<Allocator>::value &&
|
||||||
container_detail::is_nothrow_default_constructible<Compare>::value)
|
container_detail::is_nothrow_default_constructible<Compare>::value)
|
||||||
: m_flat_tree()
|
: m_flat_tree()
|
||||||
{}
|
{}
|
||||||
|
@@ -127,7 +127,7 @@ class flat_set
|
|||||||
//!
|
//!
|
||||||
//! <b>Complexity</b>: Constant.
|
//! <b>Complexity</b>: Constant.
|
||||||
BOOST_CONTAINER_FORCEINLINE
|
BOOST_CONTAINER_FORCEINLINE
|
||||||
explicit flat_set() BOOST_NOEXCEPT_IF(container_detail::is_nothrow_default_constructible<Allocator>::value &&
|
flat_set() BOOST_NOEXCEPT_IF(container_detail::is_nothrow_default_constructible<Allocator>::value &&
|
||||||
container_detail::is_nothrow_default_constructible<Compare>::value)
|
container_detail::is_nothrow_default_constructible<Compare>::value)
|
||||||
: base_t()
|
: base_t()
|
||||||
{}
|
{}
|
||||||
@@ -1081,7 +1081,7 @@ class flat_multiset
|
|||||||
typedef typename BOOST_CONTAINER_IMPDEF(base_t::sequence_type) sequence_type;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::sequence_type) sequence_type;
|
||||||
|
|
||||||
//! @copydoc ::boost::container::flat_set::flat_set()
|
//! @copydoc ::boost::container::flat_set::flat_set()
|
||||||
BOOST_CONTAINER_FORCEINLINE explicit flat_multiset() BOOST_NOEXCEPT_IF(container_detail::is_nothrow_default_constructible<Allocator>::value &&
|
BOOST_CONTAINER_FORCEINLINE flat_multiset() BOOST_NOEXCEPT_IF(container_detail::is_nothrow_default_constructible<Allocator>::value &&
|
||||||
container_detail::is_nothrow_default_constructible<Compare>::value)
|
container_detail::is_nothrow_default_constructible<Compare>::value)
|
||||||
: base_t()
|
: base_t()
|
||||||
{}
|
{}
|
||||||
|
Reference in New Issue
Block a user