libdparse v0.7.0-alpha6 (2016-04-14T21:22:37Z)
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