| 20 | bool valid() const { return static_cast<bool>(held); } |
| 21 | |
| 22 | void pass_valu(std::unique_ptr<atyp> obj) { held = std::move(obj); } |
| 23 | void pass_rref(std::unique_ptr<atyp> &&obj) { held = std::move(obj); } |
| 24 | std::unique_ptr<atyp> rtrn_valu() { return std::move(held); } |
| 25 | std::unique_ptr<atyp> &rtrn_lref() { return held; } |