Better configuration for boost.unordered.

[SVN r53127]
This commit is contained in:
Daniel James
2009-05-20 06:43:38 +00:00
parent 09b239ed28
commit 20c9360528
8 changed files with 33 additions and 16 deletions

View File

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