@@ -681,38 +681,38 @@ inline std::basic_istream<E, T> & operator>>
681681{ return is >> p.get_offset (); }
682682
683683// !Simulation of static_cast between pointers. Never throws.
684- template <class T1 , class P1 , class O1 , std::size_t A1 , class T2 , class P2 , class O2 , std:: size_t A2 >
685- BOOST_INTERPROCESS_FORCEINLINE boost::interprocess::offset_ptr<T1 , P1 , O1 , A1 >
686- static_pointer_cast (const boost::interprocess::offset_ptr<T2 , P2 , O2 , A2 > & r) BOOST_NOEXCEPT
684+ template <class T1 , class P , class O , std::size_t A , class T2 >
685+ BOOST_INTERPROCESS_FORCEINLINE boost::interprocess::offset_ptr<T1 , P, O, A >
686+ static_pointer_cast (const boost::interprocess::offset_ptr<T2 , P, O, A > & r) BOOST_NOEXCEPT
687687{
688- return boost::interprocess::offset_ptr<T1 , P1 , O1 , A1 >
688+ return boost::interprocess::offset_ptr<T1 , P, O, A >
689689 (r, boost::interprocess::ipcdetail::static_cast_tag ());
690690}
691691
692692// !Simulation of const_cast between pointers. Never throws.
693- template <class T1 , class P1 , class O1 , std::size_t A1 , class T2 , class P2 , class O2 , std:: size_t A2 >
694- BOOST_INTERPROCESS_FORCEINLINE boost::interprocess::offset_ptr<T1 , P1 , O1 , A1 >
695- const_pointer_cast (const boost::interprocess::offset_ptr<T2 , P2 , O2 , A2 > & r) BOOST_NOEXCEPT
693+ template <class T1 , class P , class O , std::size_t A , class T2 >
694+ BOOST_INTERPROCESS_FORCEINLINE boost::interprocess::offset_ptr<T1 , P, O, A >
695+ const_pointer_cast (const boost::interprocess::offset_ptr<T2 , P, O, A > & r) BOOST_NOEXCEPT
696696{
697- return boost::interprocess::offset_ptr<T1 , P1 , O1 , A1 >
697+ return boost::interprocess::offset_ptr<T1 , P, O, A >
698698 (r, boost::interprocess::ipcdetail::const_cast_tag ());
699699}
700700
701701// !Simulation of dynamic_cast between pointers. Never throws.
702- template <class T1 , class P1 , class O1 , std::size_t A1 , class T2 , class P2 , class O2 , std:: size_t A2 >
703- BOOST_INTERPROCESS_FORCEINLINE boost::interprocess::offset_ptr<T1 , P1 , O1 , A1 >
704- dynamic_pointer_cast (const boost::interprocess::offset_ptr<T2 , P2 , O2 , A2 > & r) BOOST_NOEXCEPT
702+ template <class T1 , class P , class O , std::size_t A , class T2 >
703+ BOOST_INTERPROCESS_FORCEINLINE boost::interprocess::offset_ptr<T1 , P, O, A >
704+ dynamic_pointer_cast (const boost::interprocess::offset_ptr<T2 , P, O, A > & r) BOOST_NOEXCEPT
705705{
706- return boost::interprocess::offset_ptr<T1 , P1 , O1 , A1 >
706+ return boost::interprocess::offset_ptr<T1 , P, O, A >
707707 (r, boost::interprocess::ipcdetail::dynamic_cast_tag ());
708708}
709709
710710// !Simulation of reinterpret_cast between pointers. Never throws.
711- template <class T1 , class P1 , class O1 , std::size_t A1 , class T2 , class P2 , class O2 , std:: size_t A2 >
712- BOOST_INTERPROCESS_FORCEINLINE boost::interprocess::offset_ptr<T1 , P1 , O1 , A1 >
713- reinterpret_pointer_cast (const boost::interprocess::offset_ptr<T2 , P2 , O2 , A2 > & r) BOOST_NOEXCEPT
711+ template <class T1 , class P , class O , std::size_t A , class T2 >
712+ BOOST_INTERPROCESS_FORCEINLINE boost::interprocess::offset_ptr<T1 , P, O, A >
713+ reinterpret_pointer_cast (const boost::interprocess::offset_ptr<T2 , P, O, A > & r) BOOST_NOEXCEPT
714714{
715- return boost::interprocess::offset_ptr<T1 , P1 , O1 , A1 >
715+ return boost::interprocess::offset_ptr<T1 , P, O, A >
716716 (r, boost::interprocess::ipcdetail::reinterpret_cast_tag ());
717717}
718718
0 commit comments