adrdox v2.5.1 (2021-08-31T17:41:56Z)
Home
Dub
Repo
generateOpEquals.generateOpEquals
dparse
ast
generateOpEquals
Undocumented in source.
template
generateOpEquals
(T)
enum
generateOpEquals
=
T.stringof
~
" obj = cast("
~
T.stringof
~
") other;\n"
~
"if (obj is null) return false;"
~
opEqualsPart
!(
__traits
(
derivedMembers
,
T
)) ~
"\n"
~
"return true;"
;
Meta
Source
See Source File
dparse
ast
generateOpEquals
manifest constants
generateOpEquals
templates
opEqualsPart