Larry Luther wrote:
Thanks guys.Simen asked: "Is there a problem?".Well, I kind of expected a "ubyte" buffer to be matched with a "get(T:ubyte)".I thought methods were searched for the "best" match.
No, C++ does it that way, and it gets horrendously complicated. In D, it has to match exactly.