]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/intrusive/member_value_traits.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / intrusive / member_value_traits.hpp
index 0ab7ffb11223cbd235a3e436ff07023443693c25..f673b6417aa9209f7cc3967f13837ae74e62dc9e 100644 (file)
@@ -57,19 +57,19 @@ struct member_value_traits
    typedef const value_type &                                           const_reference;
    static const link_mode_type link_mode = LinkMode;
 
-   BOOST_INTRUSIVE_FORCEINLINE static node_ptr to_node_ptr(reference value)
+   BOOST_INTRUSIVE_FORCEINLINE static node_ptr to_node_ptr(reference value) BOOST_NOEXCEPT
    {  return pointer_traits<node_ptr>::pointer_to(value.*PtrToMember);   }
 
-   BOOST_INTRUSIVE_FORCEINLINE static const_node_ptr to_node_ptr(const_reference value)
+   BOOST_INTRUSIVE_FORCEINLINE static const_node_ptr to_node_ptr(const_reference value) BOOST_NOEXCEPT
    {  return pointer_traits<const_node_ptr>::pointer_to(value.*PtrToMember);   }
 
-   BOOST_INTRUSIVE_FORCEINLINE static pointer to_value_ptr(const node_ptr &n)
+   BOOST_INTRUSIVE_FORCEINLINE static pointer to_value_ptr(node_ptr n) BOOST_NOEXCEPT
    {
       return pointer_traits<pointer>::pointer_to(*detail::parent_from_member<value_type, node>
          (boost::movelib::to_raw_pointer(n), PtrToMember));
    }
 
-   BOOST_INTRUSIVE_FORCEINLINE static const_pointer to_value_ptr(const const_node_ptr &n)
+   BOOST_INTRUSIVE_FORCEINLINE static const_pointer to_value_ptr(const_node_ptr n) BOOST_NOEXCEPT
    {
       return pointer_traits<const_pointer>::pointer_to(*detail::parent_from_member<value_type, node>
          (boost::movelib::to_raw_pointer(n), PtrToMember));