Sir doubt in multiset

sir when we are passing class as paramter what exactly it is doing internally?? i mean how is it working internally as we have seen the working of comparator that is user defined function but now about class and comparison parameter does internally it creates an object of user defined class??

@tejasddongare
The function call operator () can be overloaded for objects of class type. When you overload ( ), you are not creating a new way to call a function. Rather, you are creating an operator function that can be passed an arbitrary number of parameters.

hello @tejasddongare as you are not responding that’s why i feel your doubt is cleared .
you can now mark this doubt as resolved now .
on off the chance if you still have doubt you can reopen the doubt and get it resolved again.
Happy Learning !!

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.