You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a derived class D, a typical implementation of this function will immediately return false if dynamic_cast<const D*>(&other) == nullptr.
Once LWG 3000 is resolved, none of the concrete memory resource classes in the standard will perform a dynamic_cast in their do_is_equal. Given that, the assertion in the note that performing a dynamic_cast here is "typical" seems rather questionable.
The text was updated successfully, but these errors were encountered:
jensmaurer
added a commit
to jensmaurer/draft
that referenced
this issue
Oct 6, 2017
p7 says that for
do_is_equal
,Once LWG 3000 is resolved, none of the concrete memory resource classes in the standard will perform a
dynamic_cast
in theirdo_is_equal
. Given that, the assertion in the note that performing adynamic_cast
here is "typical" seems rather questionable.The text was updated successfully, but these errors were encountered: