| 238 | |
| 239 | const EnumTy &getEnum() const noexcept { return *std::get_if<EnumTy>(&Type); } |
| 240 | void setEnum(EnumTy &&Ty) noexcept { Type.emplace<EnumTy>(std::move(Ty)); } |
| 241 | |
| 242 | const OptionTy &getOption() const noexcept { |
| 243 | return *std::get_if<OptionTy>(&Type); |