| 36 | |
| 37 | template <typename T> |
| 38 | auto get_if(Shape const *shape) |
| 39 | { |
| 40 | return static_cast<T const *>(shape->kind == T::k ? shape : nullptr); |
| 41 | } |
| 42 | |
| 43 | double get_area(const Shape &shape) |
| 44 | { |
nothing calls this directly
no outgoing calls
no test coverage detected