Closed danakj closed 1 year ago
A class method pointer acts like a function that receives a reference to the class as its first parameter.
So a Fn concept that receives a type const T& as its first parameter can be satisfied by any const method on T.
A class method pointer acts like a function that receives a reference to the class as its first parameter.
So a Fn concept that receives a type const T& as its first parameter can be satisfied by any const method on T.