| 517 | |
| 518 | template<typename T, typename Y> |
| 519 | shared_ptr<T> const_pointer_cast(const shared_ptr<Y>& other) FL_NOEXCEPT { |
| 520 | return shared_ptr<T>(other, const_cast<T*>(other.get())); |
| 521 | } |
| 522 | |
| 523 | template<typename T, typename Y> |
| 524 | shared_ptr<T> reinterpret_pointer_cast(const shared_ptr<Y>& other) FL_NOEXCEPT { |