Decorate containers with more BOOST_FORCEINLINE

This commit is contained in:
Christian Mazakas committed 2022-10-25 09:01:38 -07:00
1 parent 2afd1c5c9a
commit 4f0edf9013
3 files changed
+68 -25

No files matched your search

+2
View File
@@ -1299,6 +1299,7 @@ public:
>
void erase(iterator pos)noexcept{return erase(const_iterator(pos));}
BOOST_FORCEINLINE
void erase(const_iterator pos)noexcept
{
destroy_element(pos.p);
@@ -1307,6 +1308,7 @@ public:
}
template<typename Key>
BOOST_FORCEINLINE
auto erase(Key&& x) -> typename std::enable_if<
!std::is_convertible<Key,iterator>::value&&
!std::is_convertible<Key,const_iterator>::value, std::size_t>::type