| 250 | return *std::get_if<ResultTy>(&Type); |
| 251 | } |
| 252 | void setResult(ResultTy &&Ty) noexcept { |
| 253 | Type.emplace<ResultTy>(std::move(Ty)); |
| 254 | } |
| 255 | |
| 256 | const OwnTy &getOwn() const noexcept { return *std::get_if<OwnTy>(&Type); } |
| 257 | void setOwn(OwnTy &&Ty) noexcept { Type.emplace<OwnTy>(std::move(Ty)); } |