| 131 | } |
| 132 | |
| 133 | static constexpr auto switch_(auto expr) noexcept { |
| 134 | return [=](auto... cases) { |
| 135 | constexpr auto switcher = global_(_impl_::switcher); |
| 136 | return block_(switcher = expr, _impl_::switch_impl(*switcher, cases...)); |
| 137 | }; |
| 138 | } |
| 139 | |
| 140 | static constexpr auto none_ = lib::ir::IR{lib::none::None{}}; |
| 141 |
no test coverage detected