Remove usage of boost::forward

This commit is contained in:
Christian Mazakas
2023-09-27 11:44:44 -07:00
parent 16386f586f
commit f088a5b9b9
12 changed files with 211 additions and 211 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ namespace test
void construct(U* p, BOOST_FWD_REF(Args)... args)
{
detail::tracker.track_construct((void*)p, sizeof(U), tag_);
new (p) U(boost::forward<Args>(args)...);
new (p) U(std::forward<Args>(args)...);
}
#endif
+2 -2
View File
@@ -518,7 +518,7 @@ namespace test {
UNORDERED_SCOPE(allocator::construct(U*, BOOST_FWD_REF(Args)...))
{
UNORDERED_EPOINT("Mock allocator construct function.")
new (p) U(boost::forward<Args>(args)...);
new (p) U(std::forward<Args>(args)...);
}
test::detail::tracker.track_construct((void*)p, sizeof(U), tag_);
}
@@ -700,7 +700,7 @@ namespace test {
UNORDERED_SCOPE(allocator2::construct(U*, BOOST_FWD_REF(Args)...))
{
UNORDERED_EPOINT("Mock allocator2 construct function.")
new (p) U(boost::forward<Args>(args)...);
new (p) U(std::forward<Args>(args)...);
}
test::detail::tracker.track_construct((void*)p, sizeof(U), tag_);
}
+3 -3
View File
@@ -470,7 +470,7 @@ namespace test {
template <class U, class... Args>
void construct(U* p, BOOST_FWD_REF(Args)... args)
{
new ((void*)p) U(boost::forward<Args>(args)...);
new ((void*)p) U(std::forward<Args>(args)...);
}
#endif
@@ -544,7 +544,7 @@ namespace test {
template <class U, class... Args>
void construct(U* p, BOOST_FWD_REF(Args)... args)
{
new (p) U(boost::forward<Args>(args)...);
new (p) U(std::forward<Args>(args)...);
}
#endif
@@ -622,7 +622,7 @@ namespace test {
template <class U, class... Args>
void construct(U* p, BOOST_FWD_REF(Args)... args)
{
new ((void*)p) U(boost::forward<Args>(args)...);
new ((void*)p) U(std::forward<Args>(args)...);
}
#endif
+2 -2
View File
@@ -413,7 +413,7 @@ namespace test {
template <typename U, typename... Args> void construct(U* p, Args&&... args)
{
detail::tracker.track_construct((void*)p, sizeof(U), tag_);
new (p) U(boost::forward<Args>(args)...);
new (p) U(std::forward<Args>(args)...);
}
template <typename U> void destroy(U* p)
@@ -668,7 +668,7 @@ namespace test {
void construct(U* p, BOOST_FWD_REF(Args)... args)
{
detail::tracker.track_construct((void*)p, sizeof(U), tag_);
new (p) U(boost::forward<Args>(args)...);
new (p) U(std::forward<Args>(args)...);
}
#endif