Ticket #7907: tr1-noexcept.patch

File tr1-noexcept.patch, 1.4 KB (added by Marshall Clow, 10 years ago)
  • boost/tr1/memory.hpp

     
    2323class bad_weak_ptr;
    2424template<class T> class weak_ptr;
    2525template<class T> class shared_ptr;
    26 template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b);
    27 template<class T> void swap(shared_ptr<T> & a, shared_ptr<T> & b);
    28 template<class T, class U> shared_ptr<T> static_pointer_cast(shared_ptr<U> const & r);
    29 template<class T, class U> shared_ptr<T> dynamic_pointer_cast(shared_ptr<U> const & r);
    30 template<class T, class U> shared_ptr<T> const_pointer_cast(shared_ptr<U> const & r);
    31 template<class D, class T> D * get_deleter(shared_ptr<T> const & p);
     26template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b) BOOST_NOEXCEPT;
     27template<class T> void swap(shared_ptr<T> & a, shared_ptr<T> & b) BOOST_NOEXCEPT;
     28template<class T, class U> shared_ptr<T> static_pointer_cast(shared_ptr<U> const & r) BOOST_NOEXCEPT;
     29template<class T, class U> shared_ptr<T> dynamic_pointer_cast(shared_ptr<U> const & r) BOOST_NOEXCEPT;
     30template<class T, class U> shared_ptr<T> const_pointer_cast(shared_ptr<U> const & r) BOOST_NOEXCEPT;
     31template<class D, class T> D * get_deleter(shared_ptr<T> const & p) BOOST_NOEXCEPT;
    3232template<class T> class enable_shared_from_this;
    3333
    3434namespace detail{