On Wed, Mar 29, 2023 at 11:19 AM Arthur O'Dwyer <arthur.j.odwyer@gmail.com> wrote:
On Wed, Mar 29, 2023 at 11:13 AM <language.lawyer@gmail.com> wrote:
>      Returns: If p is non-null, dynamic_cast<B>((D*)p). Otherwise, null.

Isn't this equivalent to just «Returns: dynamic_cast<B>((D*)p)»?

Heh, yes. Username checks out. ;)
 
...argh, and before anyone else says it: yeah, I meant `dynamic_cast<B*>((D*)p)`. Was missing an asterisk there.