Commit 626c5b0e authored by gsamain's avatar gsamain Committed by Xavier Thompson

Lookup operator with dunder syntax in cypclass

parent 5f4ee3d4
......@@ -2819,6 +2819,10 @@ class CppClassScope(Scope):
name = "<del>"
elif name == "__alloc__":
name = "<alloc>"
else:
operator = self.operator_table.get(name, None)
if operator:
name = 'operator'+operator
return super(CppClassScope,self).lookup_here(name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment