hasDestructor.hasDestructor

Undocumented in source.
  1. enum hasDestructor;
    template hasDestructor(T)
    package
    static if(is(T == struct))
    static if(__traits(hasMember, Unqual!T, "__xdtor"))
    enum hasDestructor = __traits(isSame, Unqual!T, __traits(parent, T.init.__xdtor));
  2. enum hasDestructor;
  3. enum hasDestructor;
  4. enum hasDestructor;

Meta