mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 05:54:28 +02:00
Make set::equal_range BOOST_CONTAINER_FORCEINLINE
This commit is contained in:
@@ -875,7 +875,7 @@ class set
|
|||||||
//!
|
//!
|
||||||
//! <b>Complexity</b>: Logarithmic
|
//! <b>Complexity</b>: Logarithmic
|
||||||
template<typename K>
|
template<typename K>
|
||||||
std::pair<iterator,iterator> equal_range(const K& x)
|
BOOST_CONTAINER_FORCEINLINE std::pair<iterator,iterator> equal_range(const K& x)
|
||||||
{ return this->base_t::lower_bound_range(x); }
|
{ return this->base_t::lower_bound_range(x); }
|
||||||
|
|
||||||
//! <b>Requires</b>: This overload is available only if
|
//! <b>Requires</b>: This overload is available only if
|
||||||
@@ -885,7 +885,7 @@ class set
|
|||||||
//!
|
//!
|
||||||
//! <b>Complexity</b>: Logarithmic
|
//! <b>Complexity</b>: Logarithmic
|
||||||
template<typename K>
|
template<typename K>
|
||||||
std::pair<const_iterator,const_iterator> equal_range(const K& x) const
|
BOOST_CONTAINER_FORCEINLINE std::pair<const_iterator,const_iterator> equal_range(const K& x) const
|
||||||
{ return this->base_t::lower_bound_range(x); }
|
{ return this->base_t::lower_bound_range(x); }
|
||||||
|
|
||||||
#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
|
#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
|
||||||
|
Reference in New Issue
Block a user