Pattern: Use of memset
on class
Issue: -
Using memset
on class is unsafe, because constructor, destructor and copy operator calls are omitted. These are necessary for this non-POD type to ensure that a valid object is created.
Pattern: Use of memset
on class
Issue: -
Using memset
on class is unsafe, because constructor, destructor and copy operator calls are omitted. These are necessary for this non-POD type to ensure that a valid object is created.