Skip to content

Commit 993247f

Browse files
committed
Use plain forwarding reference instead of BOOST_FWD_REF macro
1 parent fe2ac80 commit 993247f

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

include/boost/interprocess/allocators/adaptive_pool.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class adaptive_pool_base
185185
//!
186186
//! <b>Throws</b>: Nothing unless the constructor for T throws.
187187
template < typename U, class ...Args>
188-
inline void construct(U* p, BOOST_FWD_REF(Args)...args)
188+
inline void construct(U* p, Args&& ...args)
189189
{
190190
boost::container::dtl::allocator_traits_dummy<U> atd;
191191
boost::container::dtl::dispatch_uses_allocator

include/boost/interprocess/allocators/allocator.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class allocator
172172
//!
173173
//! <b>Throws</b>: Nothing unless the constructor for T throws.
174174
template < typename U, class ...Args>
175-
inline void construct(U* p, BOOST_FWD_REF(Args)...args)
175+
inline void construct(U* p, Args&& ...args)
176176
{
177177
boost::container::dtl::allocator_traits_dummy<U> atd;
178178
boost::container::dtl::dispatch_uses_allocator

include/boost/interprocess/allocators/detail/allocator_common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ class cached_allocator_impl
632632
//!
633633
//! <b>Throws</b>: Nothing unless the constructor for T throws.
634634
template < typename U, class ...Args>
635-
inline void construct(U* p, BOOST_FWD_REF(Args)...args)
635+
inline void construct(U* p, Args&& ...args)
636636
{
637637
boost::container::dtl::allocator_traits_dummy<U> atd;
638638
boost::container::dtl::dispatch_uses_allocator

include/boost/interprocess/allocators/node_allocator.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class node_allocator_base
184184
//!
185185
//! <b>Throws</b>: Nothing unless the constructor for T throws.
186186
template < typename U, class ...Args>
187-
inline void construct(U* p, BOOST_FWD_REF(Args)...args)
187+
inline void construct(U* p, Args&& ...args)
188188
{
189189
boost::container::dtl::allocator_traits_dummy<U> atd;
190190
boost::container::dtl::dispatch_uses_allocator

include/boost/interprocess/allocators/private_adaptive_pool.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class private_adaptive_pool_base
189189
//!
190190
//! <b>Throws</b>: Nothing unless the constructor for T throws.
191191
template < typename U, class ...Args>
192-
inline void construct(U* p, BOOST_FWD_REF(Args)...args)
192+
inline void construct(U* p, Args&& ...args)
193193
{
194194
boost::container::dtl::allocator_traits_dummy<U> atd;
195195
boost::container::dtl::dispatch_uses_allocator

include/boost/interprocess/allocators/private_node_allocator.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class private_node_allocator_base
179179
//!
180180
//! <b>Throws</b>: Nothing unless the constructor for T throws.
181181
template < typename U, class ...Args>
182-
inline void construct(U* p, BOOST_FWD_REF(Args)...args)
182+
inline void construct(U* p, Args&& ...args)
183183
{
184184
boost::container::dtl::allocator_traits_dummy<U> atd;
185185
boost::container::dtl::dispatch_uses_allocator

0 commit comments

Comments
 (0)