Unexpected compiler error when mistakenly pass a macro instead of function pointer #2049
Labels
Fixed Needs Verification
Fixed, but needs verification that it works
Milestone
I am writing some code and get the error
Minimum reproducable example would be as follow
And also, unrelated to the error above but I want to ask the correct way to write this. I have a function that take a getter as parameter, I also have a container providing get operator. How to connect these two without the function depending on the container implementation?
The text was updated successfully, but these errors were encountered: