Fboemer/modernize shared ptr
*Use auto for dynamic_cast
and dynamic_pointer_cast
[https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#es11-use-auto-to-avoid-redundant-repetition-of-type-names]
Fixes: #87 (closed)
Edited by Fabian Boemer