AA and struct with const member

frame frame86 at live.com
Tue Dec 28 07:54:56 UTC 2021


On Tuesday, 28 December 2021 at 06:38:03 UTC, Tejas wrote:
> On Tuesday, 28 December 2021 at 01:45:42 UTC, Era Scarecrow 
> wrote:
>> On Monday, 27 December 2021 at 19:38:38 UTC, frame wrote:
>>> [...]
>>
>> const/immutable members are to be set/assigned instantiation. 
>> Most likely the problem is a bug and sounds like
>>
>> [...]
>
> The workaround is okay, but I think we should file a bug report 
> for this.
> This is very ~~stupid~~ undesirable behaviour

I agree. I'll just wait if somebody can explain why this isn't a 
bug or wanted behaviour or a known issue.


More information about the Digitalmars-d-learn mailing list