| 293 | /// For smart pointers (shared_ptr, unique_ptr), they are polymorphic if their |
| 294 | /// element type is polymorphic, matching Rust's Rc<dyn Trait> behavior. |
| 295 | template <typename T> struct is_polymorphic : std::is_polymorphic<T> {}; |
| 296 | |
| 297 | // Smart pointers are polymorphic if their element type is polymorphic |
| 298 | // This matches Rust's Rc<dyn Trait> / Arc<dyn Trait> behavior |
no outgoing calls
no test coverage detected