__gshared immutable array of immutable elements
Dicebot
public at dicebot.lv
Tue Nov 12 12:16:29 PST 2013
On Tuesday, 12 November 2013 at 20:09:57 UTC, Martin Drašar wrote:
> Those two immutables are not redundant, because it is an array
> of immutable chars (string), that is itself immutable.
It is redundant because "immutable" is transitive. "immutable
char[]" is equivalent.
But Tango has lot of meaningless and redundant attributes (
"final private" ;) )
More information about the Digitalmars-d-learn
mailing list