Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 380 Bytes

c26466.md

File metadata and controls

10 lines (9 loc) · 380 Bytes
title C26466
ms.date 03/22/2018
ms.topic reference
f1_keywords
C26466
helpviewer_keywords
C26466

C26466 NO_STATIC_DOWNCAST_POLYMORPHIC

Don't use static_cast downcasts. A cast from a polymorphic type should use dynamic_cast. See C++ Core Guidelines Type.2.