| 1672 | |
| 1673 | template <typename Alloc, typename U> |
| 1674 | inline typename boost::unordered::detail::allocator_traits<Alloc>::pointer |
| 1675 | construct_node(Alloc& alloc, BOOST_FWD_REF(U) x) |
| 1676 | { |
| 1677 | node_constructor<Alloc> a(alloc); |
| 1678 | a.create_node(); |
| 1679 | boost::unordered::detail::func::call_construct( |
| 1680 | alloc, a.node_->value_ptr(), boost::forward<U>(x)); |
| 1681 | return a.release(); |
| 1682 | } |
| 1683 | |
| 1684 | // TODO: When possible, it might be better to use std::pair's |
| 1685 | // constructor for std::piece_construct with std::tuple. |
no test coverage detected