How to avoid multiple spelling `import`

Dennis Ritchie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 16 04:45:22 PDT 2015


Maybe not everyone needs these features. But, unfortunately, I 
often use a lot of imported modules. And use every time the word 
`import` very bad.

version (none) {
import std.math,
        std.conv,
        std.stdio,
        std.ascii,
        std.range,
        std.array,
        std.regex,
        std.format,
        std.bigint,
        std.traits,
        std.random,
        std.string,
        std.numeric,
        std.variant,
        std.typecons,
        std.container,
        std.algorithm,
        std.typetuple,
        std.exception,
        core.checkedint;
}

I just want to import individual features of these modules.


More information about the Digitalmars-d-learn mailing list