atilaneves / automem

C++-style automatic memory management smart pointers for D
BSD 3-Clause "New" or "Revised" License
86 stars 15 forks source link

Re-name consistent with phobos #34

Closed jmh530 closed 5 years ago

jmh530 commented 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.

[1] https://dlang.org/phobos/std_traits.html#PointerTarget

atilaneves commented 5 years ago

In that case wouldn't it be better to rename both of them to PointerTarget?

jmh530 commented 5 years ago

@atilaneves Good idea.