Module of assumeUnique

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Jan 18 09:55:59 PST 2012


On 1/18/12 11:20 AM, Jacob Carlborg wrote:
> On 2012-01-18 17:50, Jonathan M Davis wrote:
>> On Wednesday, January 18, 2012 13:24:01 biozic wrote:
>>> Sorry if this has already been discussed/fixed: should assumeUnique and
>>> pointsTo still belong in std.exception? I remember the module was name
>>> std.contracts but now this seems awkward...
>>
>> It's not like it makes any more sense for it to be in std.contracts.
>> assumeUnique has nothing to do with contracts. But where else would it
>> go?
>> There really isn't a good place to put it, and moving it would break
>> code.
>>
>> - Jonathan M Davis
>
> Perhaps something like std.util?

I think things are fine as they are.

Andrei



More information about the Digitalmars-d mailing list