The review of std.hash package
David Nadlinger
see at klickverbot.at
Thu Aug 9 09:46:59 PDT 2012
On Thursday, 9 August 2012 at 16:37:57 UTC, Dmitry Olshansky
wrote:
> Too fast.. should have been:
> ubyte[16] getDidgest();
> alias getDigest this;
I have been thinking about using AliasThis as well, but the
problem is that precisely the use case this is meant to enable
(i.e. »snapping together components«, like Walter said) tends
to get broken in subtle ways due to the use of template
functions/type inference.
David
More information about the Digitalmars-d
mailing list