diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/atom.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -104,6 +104,16 @@ namespace Bu | |||
104 | 104 | ||
105 | return *this; | 105 | return *this; |
106 | } | 106 | } |
107 | |||
108 | bool operator ==( const MyType &oth ) | ||
109 | { | ||
110 | return (*pData) == (*oth.pData); | ||
111 | } | ||
112 | |||
113 | bool operator ==( const t &oth ) | ||
114 | { | ||
115 | return (*pData) == oth; | ||
116 | } | ||
107 | 117 | ||
108 | t *operator ->() | 118 | t *operator ->() |
109 | { | 119 | { |