HasAttribute.HasAttribute

Undocumented in source.
  1. enum HasAttribute;
  2. enum HasAttribute;
  3. enum HasAttribute;
    template HasAttribute(alias module_, string member, alias attribute)
    static if(!(!__traits(compiles, __traits(getAttributes, mixin (member)))))
    static if(!(attrs.length == 0))
    enum HasAttribute = true;

Meta