dpp icon indicating copy to clipboard operation
dpp copied to clipboard

Bug with "operator" prefix on method decl

Open trikko opened this issue 6 years ago • 2 comments

class A
{
	bool operator_a() const;
};

trikko avatar Dec 21 '18 14:12 trikko

This should be reopened :) Indeed isOperator() should check for valid c++ operator. For example operatora() is recognized as an operator by dpp but it is a method.

trikko avatar Dec 21 '18 16:12 trikko

Also see related problems with templated operators opFoo() (T) (T t) Oops

Laeeth avatar Dec 31 '18 12:12 Laeeth