Bug 11236 – assumeUnique and pointsTo do not belong in std.exception

Status
NEW
Severity
normal
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-10-12T14:40:14Z
Last change time
2024-12-01T16:18:56Z
Assigned to
No Owner
Creator
Andrej Mitrovic
Moved to GitHub: phobos#10006 →

Comments

Comment #0 by andrej.mitrovich — 2013-10-12T14:40:14Z
These two functions should become aliases to wherever we end up moving them, and eventually become deprecated and later removed, they really don't belong in std.exception. assumeUnique could go to std.conv/std.typecons and pointsTo seems like it could fit in with std.traits.
Comment #1 by nick — 2014-07-08T15:07:38Z
(In reply to Andrej Mitrovic from comment #0) > assumeUnique could go to std.conv/std.typecons +1 for std.conv. > and pointsTo seems like it could fit in with std.traits. pointsTo has been deprecated in May and replaced with 2 new std.exception functions: https://github.com/D-Programming-Language/phobos/commit/c88515 So if we're going to move mayPointTo and doesPointTo, it would be good to do it before the 2.066 release (if it's not too late) to avoid further deprecations.
Comment #2 by robert.schadek — 2024-12-01T16:18:56Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10006 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB