On 3/16/12 5:27 PM, Walter Bright wrote:
There should never, EVER, in the library code be something like:
version (FreeBSD)
... do something weird with FreeBSD ...
else
... do the default ...
If you find any code like this in the library, please file a bugzilla
entry for it.
Instead:
version (FreeBSD)
... do something weird with FreeBSD ...
else
static assert(0, "OS not supported");
Never say never. There are I/O routines that are specialized for several
OSs and fall back to a generic (slower) implementation.
Andrei