std.compress
Michal Minich
michal.minich at gmail.com
Thu Jun 13 04:45:35 PDT 2013
On Thursday, 13 June 2013 at 11:36:16 UTC, Daniel Murphy wrote:
> Ok, how exactly is the data compressed in the following
> snippet? No
> scrolling up to the top of the module to see what's imported!
>
> newdata = data.compress();
You can have that argument for any single overload and virtual
call. At least you know it statically; with virtual you don't
know until runtime... In many languages you would have interface
ICompressor { Stream compress (Stream s) }...
More information about the Digitalmars-d
mailing list