C.147: Add missing example. (#1835)

This commit is contained in:
stefanhige
2021-10-18 05:12:02 +02:00
committed by GitHub
parent 34c4b9f525
commit 740e71ecf8

View File

@@ -8063,7 +8063,10 @@ Casting to a reference expresses that you intend to end up with a valid object,
##### Example ##### Example
??? std::string f(Base& b)
{
return dynamic_cast<Derived&>(b).to_string();
}
##### Enforcement ##### Enforcement