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
Particular horrors are the difference between 'const int *' 'int * const' 'const int * const' and structures (and unions?) with some const fields and some non-const ones.
@hannes-steffenhagen-diffblue I'm not sure I have one fixed answer in mind; just as long as there is a consistent, correct and justifiable answer. Throwing an error, assigning all non-const fields (possibly with a warning), assigning everything (with a warning), these all seem possible.
As per @thk123 s comments on #1889 there are some additional edge cases which we should be testing for, for instance pointer-to-pointer-to-const.
The text was updated successfully, but these errors were encountered: