On Oct 2, 2013 3:03 PM, "David Nadlinger" <code@klickverbot.at> wrote:
>
> Hi all,
>
> I'd like to change the name of TypeInfo_Invariant, the wrapper for
> adding a layer of 'immutable' to a type, to TypeInfo_Immutable, as it
> makes things clearer when working on the DMD/druntime internals –
> especially to newcomers, as invariant had its current meaning for ages
> now.
>
> Am I missing a way this could actually break client code (on the API
> level, the ABI obviously changes, but we do that all the time)?
> TypeInfo_Invariant is in object, but not documented.
>
> David
>
There's probably someone somewhere that uses TypeInfo_Invariant in their code (eg: std.format maybe?)
I'd probably keep an alias for typical deprecation / remove procedures.
Regards
--
Iain Buclaw
*(p < e ? p++ : p) = (c & 0x0f) + '0';