mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-28 09:23:18 -06:00
Merge branch 'majestic' of github.com:krangelov/gf-core into majestic
This commit is contained in:
commit
b62a5ebabe
1 file changed
+2
-2
@@ -93,8 +93,8 @@ public:
|
|||||||
iterator begin() { return iterator(ref<A>::from_ptr(&v()->data[0])); }
|
iterator begin() { return iterator(ref<A>::from_ptr(&v()->data[0])); }
|
||||||
iterator end() { return iterator(ref<A>::from_ptr(&v()->data[v()->len])); }
|
iterator end() { return iterator(ref<A>::from_ptr(&v()->data[v()->len])); }
|
||||||
|
|
||||||
bool operator ==(vector<A>& other) const { return offset==other.as_object(); }
|
bool operator ==(vector<A>& other) const { return offset==other.offset; }
|
||||||
bool operator !=(vector<A>& other) const { return offset!=other.as_object(); }
|
bool operator !=(vector<A>& other) const { return offset!=other.offset; }
|
||||||
bool operator ==(object other_offset) const { return offset==other_offset; }
|
bool operator ==(object other_offset) const { return offset==other_offset; }
|
||||||
bool operator !=(object other_offset) const { return offset!=other_offset; }
|
bool operator !=(object other_offset) const { return offset!=other_offset; }
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user