mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
hasDestructor
mir
type_info
Undocumented in source.
package
template
hasDestructor (
T
) {
import
std
.
traits
:
Unqual
;
;
package
static if
(
is(T == struct)
)
static if
(
__traits(hasMember, Unqual!T, "__xdtor")
)
enum
hasDestructor
;
package
static if
(
is(T == struct)
)
static if
(!(
__traits(hasMember, Unqual!T, "__xdtor")
))
enum
hasDestructor
;
package
static if
(!(
is(T == struct)
))
static if
(
is(T == class)
)
enum
hasDestructor
;
package
static if
(!(
is(T == struct)
))
static if
(!(
is(T == class)
))
enum
hasDestructor
;
}
Members
Manifest constants
hasDestructor
enum
hasDestructor
;
Undocumented in source.
hasDestructor
enum
hasDestructor
;
Undocumented in source.
hasDestructor
enum
hasDestructor
;
Undocumented in source.
hasDestructor
enum
hasDestructor
;
Undocumented in source.
Meta
Source
See Implementation
mir
type_info
functions
mir_get_payload_ptr
mir_get_type_info
structs
mir_type_info
templates
hasDestructor