| 1685 | // constructor for std::piece_construct with std::tuple. |
| 1686 | template <typename Alloc, typename Key> |
| 1687 | inline typename boost::unordered::detail::allocator_traits<Alloc>::pointer |
| 1688 | construct_node_pair(Alloc& alloc, BOOST_FWD_REF(Key) k) |
| 1689 | { |
| 1690 | node_constructor<Alloc> a(alloc); |
| 1691 | a.create_node(); |
| 1692 | boost::unordered::detail::func::call_construct( |
| 1693 | alloc, boost::unordered::detail::func::const_cast_pointer( |
| 1694 | boost::addressof(a.node_->value_ptr()->first)), |
| 1695 | boost::forward<Key>(k)); |
| 1696 | BOOST_TRY |
| 1697 | { |
| 1698 | boost::unordered::detail::func::call_construct( |
| 1699 | alloc, boost::unordered::detail::func::const_cast_pointer( |
| 1700 | boost::addressof(a.node_->value_ptr()->second))); |
| 1701 | } |
| 1702 | BOOST_CATCH(...) |
| 1703 | { |
| 1704 | boost::unordered::detail::func::call_destroy( |
no test coverage detected