Skip to content

Commit

Permalink
Remove uses of BOOST_NO_CXX11_VARIADIC_TEMPLATES
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Sep 25, 2024
1 parent 38b737c commit b4a0629
Show file tree
Hide file tree
Showing 24 changed files with 46 additions and 731 deletions.
2 changes: 0 additions & 2 deletions include/boost/smart_ptr/allocate_unique.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ allocate_unique(const A& alloc)
return c.release();
}

#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
template<class T, class A, class... Args>
inline typename enable_if_<!is_array<T>::value,
std::unique_ptr<T, alloc_deleter<T, A> > >::type
Expand All @@ -382,7 +381,6 @@ allocate_unique(const A& alloc, Args&&... args)
boost::alloc_construct(c.state(), c.get(), std::forward<Args>(args)...);
return c.release();
}
#endif

template<class T, class A>
inline typename enable_if_<!is_array<T>::value,
Expand Down
Loading

0 comments on commit b4a0629

Please sign in to comment.