MCPcopy Create free account
hub / github.com/apache/fory / is_polymorphic

Class is_polymorphic

cpp/fory/serialization/serializer_traits.h:295–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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.
295template <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

Callers 13

codec_read_type_infoFunction · 0.85
codec_write_type_infoFunction · 0.85
read_field_with_typeMethod · 0.85
is_polymorphicMethod · 0.85
write_dataMethod · 0.85
read_dataMethod · 0.85
read_data_with_typeMethod · 0.85
write_vec_dynamicFunction · 0.85
read_vec_dynamic_itemsFunction · 0.85
write_map_dynamicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected