We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3ea5c1 commit 9ddb3edCopy full SHA for 9ddb3ed
src/ck-core/ckarray.h
@@ -169,8 +169,17 @@ class CProxyElement_ArrayBase : public CProxy_ArrayBase
169
: CProxy_ArrayBase(aid), _idx(idx)
170
{
171
}
172
+ CProxyElement_ArrayBase(const CProxyElement_ArrayBase& other)
173
+ : CProxy_ArrayBase(other.ckGetArrayID()), _idx(other.ckGetIndex())
174
+ {
175
+ }
176
CProxyElement_ArrayBase(const ArrayElement* e);
177
178
+ CProxyElement_ArrayBase& operator=(const CProxyElement_ArrayBase& other)
179
180
+ return *this = CProxyElement_ArrayBase(other);
181
182
+
183
bool operator==(const CProxyElement_ArrayBase& other)
184
185
return ckGetArrayID() == other.ckGetArrayID() && ckGetIndex() == other.ckGetIndex();
0 commit comments