mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
hasDestructor.hasDestructor
mir
type_info
hasDestructor
Undocumented in source.
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
))
;
enum
hasDestructor
;
enum
hasDestructor
;
enum
hasDestructor
;
Meta
Source
See Source File
mir
type_info
hasDestructor
manifest constants
hasDestructor