| 5 | |
| 6 | template <typename T> |
| 7 | struct Is |
| 8 | { |
| 9 | template <typename Arg> |
| 10 | Arg &&operator()(Arg &&arg) const |
| 11 | { |
| 12 | static_assert(std::is_same_v<T, std::decay_t<Arg>>); |
| 13 | return std::forward<Arg>(arg); |
| 14 | } |
| 15 | }; |
| 16 | |
| 17 | template <typename T> |
| 18 | inline constexpr Is<T> is; |
nothing calls this directly
no outgoing calls
no test coverage detected