mirror of
https://github.com/boostorg/container.git
synced 2026-01-19 04:02:17 +00:00
Use selective BOOST_CONTAINER_FORCEINLINE on simple forwarding functions
This commit is contained in:
@@ -272,7 +272,7 @@ struct insert_nonmovable_emplace_proxy
|
||||
{}
|
||||
|
||||
template<class Iterator>
|
||||
inline void uninitialized_copy_n_and_update(Allocator &a, Iterator p, std::size_t n)
|
||||
BOOST_CONTAINER_FORCEINLINE void uninitialized_copy_n_and_update(Allocator &a, Iterator p, std::size_t n)
|
||||
{ this->priv_uninitialized_copy_some_and_update(a, index_tuple_t(), p, n); }
|
||||
|
||||
private:
|
||||
@@ -303,7 +303,7 @@ struct insert_emplace_proxy
|
||||
{}
|
||||
|
||||
template<class Iterator>
|
||||
inline void copy_n_and_update(Allocator &a, Iterator p, std::size_t n)
|
||||
BOOST_CONTAINER_FORCEINLINE void copy_n_and_update(Allocator &a, Iterator p, std::size_t n)
|
||||
{ this->priv_copy_some_and_update(a, index_tuple_t(), p, n); }
|
||||
|
||||
private:
|
||||
@@ -327,6 +327,7 @@ struct insert_emplace_proxy
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
//Specializations to avoid an unneeded temporary when emplacing from a single argument o type value_type
|
||||
template<class Allocator>
|
||||
struct insert_emplace_proxy<Allocator, typename boost::container::allocator_traits<Allocator>::value_type>
|
||||
|
||||
Reference in New Issue
Block a user