The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
VariantN.opEquals
std
variant
VariantN
Comparison for equality used by the "==" and "!=" operators.
struct
VariantN
(size_t maxDataSize, AllowedTypesParam...)
const
bool
opEquals
(
T
)
(
auto
ref
T
rhs
)
if
(
allowed
!
T
||
is
(immutable
T
== immutable
VariantN
)
)
Meta
Source
See Implementation
std
variant
VariantN
aliases
AllowedTypes
constructors
this
functions
opApply
opAssign
opBinary
opBinaryRight
opCmp
opEquals
opIndex
opIndexAssign
opIndexOpAssign
opOpAssign
toHash
toString
properties
coerce
convertsTo
get
hasValue
length
peek
type
templates
allowed
Comparison for equality used by the "==" and "!=" operators.