so providing unsafe overloads seems excessive
so providing unsafe overloads seems excessive
PtrLike<T> or maybe PtrRepresentable<T> to be even more verbosePtrRepresentable<T> would indicate that whatever you pass in can be represented by a pointer, but its kindof a mouthful to type?PtrBacked<T>?
PtrBacked<T> would probably let the "knows just enough to be dangerous" crowd intutiively realize arrays work hereT* implicitly converts to Ptr<T>
PtrLike, an array in C# land isnt really "like a pointer" to most peoplePtrBacked is the clearest name without being hard to typeQuoted by perksey#0000
PtrLike<T>PtrRepresentable<T>PtrRepresentable<T>PtrBacked<T>PtrBacked<T>T*Ptr<T>PtrLikePtrBacked