From 980d3f87c5939d7cc82eeee759bea2771f442746 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 10 May 2008 13:55:59 +0000 Subject: [PATCH] Remove some code that doesn't even make it past preprocessing, I should have removed it when I wrote separate allocation code for C++0x compilers. [SVN r45263] --- .../unordered/detail/hash_table_impl.hpp | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/include/boost/unordered/detail/hash_table_impl.hpp b/include/boost/unordered/detail/hash_table_impl.hpp index 022d50ce..5b0776cd 100644 --- a/include/boost/unordered/detail/hash_table_impl.hpp +++ b/include/boost/unordered/detail/hash_table_impl.hpp @@ -304,27 +304,6 @@ namespace boost { value_constructed_ = true; } -#if defined(BOOST_HAS_RVALUE_REFS) && defined(BOOST_HAS_VARIADIC_TMPL) - template - void construct(Args&&... args) - { - BOOST_ASSERT(!node_); - value_constructed_ = false; - node_base_constructed_ = false; - - node_ = allocators_.node_alloc_.allocate(1); - - allocators_.node_base_alloc_.construct( - allocators_.node_base_alloc_.address(*node_), - node_base()); - node_base_constructed_ = true; - - allocators_.value_alloc_.construct( - allocators_.value_alloc_.address(node_->value_), std::forward(args)...); - value_constructed_ = true; - } -#endif - node_ptr get() const { BOOST_ASSERT(node_);