Closed jmh530 closed 5 years ago
I realized that phobos' std.traits has a function called PointerTarget [1]. The functions UniqueType and RefCountedType I recently added should be named consistent with this, so UniqueTarget and RefCountedTarget.
std.traits
PointerTarget
UniqueType
RefCountedType
UniqueTarget
RefCountedTarget
[1] https://dlang.org/phobos/std_traits.html#PointerTarget
In that case wouldn't it be better to rename both of them to PointerTarget?
@atilaneves Good idea.
I realized that phobos'
std.traits
has a function calledPointerTarget
[1]. The functionsUniqueType
andRefCountedType
I recently added should be named consistent with this, soUniqueTarget
andRefCountedTarget
.[1] https://dlang.org/phobos/std_traits.html#PointerTarget