| 560 | template<class T> inline auto get() const -> T; |
| 561 | |
| 562 | auto release_ref() -> own<Ref> { |
| 563 | assert(is_ref()); |
| 564 | auto ref = impl_.ref; |
| 565 | impl_.ref = nullptr; |
| 566 | return own<Ref>(ref); |
| 567 | } |
| 568 | |
| 569 | auto copy() const -> Val { |
| 570 | if (is_ref() && impl_.ref != nullptr) { |
no test coverage detected