Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-05-10 09:56:00


Author: danieljames
Date: 2008-05-10 09:55:59 EDT (Sat, 10 May 2008)
New Revision: 45263
URL: http://svn.boost.org/trac/boost/changeset/45263

Log:
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.
Text files modified:
   trunk/boost/unordered/detail/hash_table_impl.hpp | 21 ---------------------
   1 files changed, 0 insertions(+), 21 deletions(-)

Modified: trunk/boost/unordered/detail/hash_table_impl.hpp
==============================================================================
--- trunk/boost/unordered/detail/hash_table_impl.hpp (original)
+++ trunk/boost/unordered/detail/hash_table_impl.hpp 2008-05-10 09:55:59 EDT (Sat, 10 May 2008)
@@ -304,27 +304,6 @@
                     value_constructed_ = true;
                 }
 
-#if defined(BOOST_HAS_RVALUE_REFS) && defined(BOOST_HAS_VARIADIC_TMPL)
- template <typename... Args>
- 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>(args)...);
- value_constructed_ = true;
- }
-#endif
-
                 node_ptr get() const
                 {
                     BOOST_ASSERT(node_);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk