| 506 | // Utility functions |
| 507 | template<typename T> |
| 508 | void swap(shared_ptr<T>& lhs, shared_ptr<T>& rhs) FL_NOEXCEPT { |
| 509 | lhs.swap(rhs); |
| 510 | } |
| 511 | |
| 512 | // Casts - using aliasing constructor (matches std::shared_ptr behavior) |
| 513 | template<typename T, typename Y> |