79813237

Date: 2025-11-08 13:58:49
Score: 1.5
Natty:
Report link

so, the fix is to add the pointer to B to the function signature, like void func(A* a, B* b), right?

Its unclear what you want to achieve, if you tell us that, perhaps we can tell you how to fix it.

Can someone give me an example when dynamic_cast is not broken?

It can be used to safely downcast a pointer for example, but its uses are more rare than you seem to expect.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can someone give me
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: 463035818_is_not_an_ai