Which of the following is correct about Functors?
Posted: Wed Jul 13, 2022 7:53 pm
a) Functors should not be declared outside the main function
b) Overloaded operator () function is not a member of the class
c) Functors should be declared global
d) Functors have a state
b) Overloaded operator () function is not a member of the class
c) Functors should be declared global
d) Functors have a state