Inlined functions as arguments
I am attempting to inline a member function as an argument of an equation.
d10 is a object of the class dice.
The class to which the function belongs is as follows:
The error I'm receiving is as follows:
I have tried to use the function with and without the 'return' keyword preceding the statement in the function.
invalid use of member (did you forget the `&' ?)
What am I doing wrong here?