xeus-cling icon indicating copy to clipboard operation
xeus-cling copied to clipboard

Function Definition Not Allowed Here

Open Jason-XII opened this issue 2 years ago • 1 comments

image I'm trying to override the operater < with my struct params. However, cling gives me an error. The code is in the seperate cell. What is wrong? How can I fix it?

Jason-XII avatar Jun 11 '22 01:06 Jason-XII

The name of the function should be "operator<" instead of "operator <".

LanceGe avatar Jun 20 '22 02:06 LanceGe