Unordered: Better std::forward/move configuration.

[SVN r73592]
This commit is contained in:
Daniel James committed 2011-08-07 08:55:28 +00:00
1 parent c9e0fb9730
commit f0517463a5
11 files changed
+38 -27

No files matched your search

+1 -1
View File
@@ -280,7 +280,7 @@ namespace minimal
void construct(pointer p, T const& t) { new((void*)p.ptr_) T(t); }
#if defined(BOOST_UNORDERED_STD_FORWARD)
#if defined(BOOST_UNORDERED_STD_FORWARD_MOVE)
template<class... Args> void construct(pointer p, Args&&... args) {
new((void*)p.ptr_) T(std::forward<Args>(args)...);
}