| 138 | { |
| 139 | template<typename Callable> |
| 140 | auto operator()(Callable&& fn) const |
| 141 | { |
| 142 | if constexpr (std::same_as<utils::decayed_invoke_result_t<Callable>, void>) |
| 143 | { |
| 144 | fn(); |
| 145 | return rpp::utils::none{}; |
| 146 | } |
| 147 | else |
| 148 | { |
| 149 | return fn(); |
| 150 | } |
| 151 | } |
| 152 | }; |
| 153 | } // namespace rpp::details |
| 154 |
nothing calls this directly
no outgoing calls
no test coverage detected