diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 33d649a..1c79463 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -8063,7 +8063,10 @@ Casting to a reference expresses that you intend to end up with a valid object, ##### Example - ??? + std::string f(Base& b) + { + return dynamic_cast(b).to_string(); + } ##### Enforcement