|
Boost-Commit : |
From: daniel_james_at_[hidden]
Date: 2008-05-28 19:11:15
Author: danieljames
Date: 2008-05-28 19:11:15 EDT (Wed, 28 May 2008)
New Revision: 45884
URL: http://svn.boost.org/trac/boost/changeset/45884
Log:
Remove unused 'construct' as in trunk.
Text files modified:
branches/unordered/trunk/boost/unordered/detail/hash_table_impl.hpp | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
Modified: branches/unordered/trunk/boost/unordered/detail/hash_table_impl.hpp
==============================================================================
--- branches/unordered/trunk/boost/unordered/detail/hash_table_impl.hpp (original)
+++ branches/unordered/trunk/boost/unordered/detail/hash_table_impl.hpp 2008-05-28 19:11:15 EDT (Wed, 28 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