We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e58919e commit 9981ab5Copy full SHA for 9981ab5
1 file changed
source/mir/annotated.d
@@ -58,6 +58,12 @@ struct Annotated(T) {
58
}
59
return *_value_;
60
61
+
62
+ ///
63
+ bool opEquals(const Annotated rhs) const
64
+ {
65
+ return annotations == rhs.annotations && _value == rhs._value;
66
+ }
67
68
else
69
{
@@ -68,12 +74,6 @@ struct Annotated(T) {
74
///
75
alias _value this;
70
76
71
- ///
72
- bool opEquals(const Annotated rhs) const
73
- {
- return annotations == rhs.annotations && _value == rhs._value;
- }
-
77
/++
78
Params:
79
annotations = non-empty array of annotations
0 commit comments