C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Get base class from std::any

From: language.lawyer_at <language.lawyer_at_[hidden]>
Date: Wed, 29 Mar 2023 20:13:08 +0500
> 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)»?

Received on 2023-03-29 15:13:13