Commit e11b56b4 authored by gsamain's avatar gsamain Committed by Xavier Thompson

Lookup operator with dunder syntax in cypclass

parent b20648cc
......@@ -2825,6 +2825,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