hasFeaturesFrom

ditto

  1. import ocean.meta.codegen.CTFE;
  2. template hasFeaturesFrom(istring libname, ulong major, ulong minor)
    template hasFeaturesFrom (
    istring libname
    ulong major
    ulong minor
    ) {}

Members

Static variables

hasFeaturesFrom
auto hasFeaturesFrom;
Undocumented in source.

Examples

static assert ( hasFeaturesFrom!("ocean", 2, 0));
static assert ( hasFeaturesFrom!("ocean", 2, 6));
static assert (!hasFeaturesFrom!("ocean", 100, 0)); // will have to be
                                                    // updated one day

Meta