Skip to content
Snippets Groups Projects
Commit 3aedadf4 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

[comment] Fix comment: This is a downcast

This is in fact an _unsafe_ downcast to a derived
class. Accessing members via this pointer is undefined
if it is not guaranteed that the passed pointer
points to an object of the _derived_ class - even
if the memory layout is the same. In this case
this static_cast acts like a reinterpret_cast.
parent ddf49c23
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment