Which of the following are true about the STL "set" as applied to objects? there has to be an operator< or operator> fun
Posted: Fri May 20, 2022 5:04 pm
Which of the following are true about the STL "set" as applied to objects? there has to be an operator< or operator> function defined there has to be an operator< or operator< = function defined it arranges its objects hi-to-lo by default if there's an operator<, objects are arranged lo-to-hi; but if there's an operator> they are arranged hi-to-lo it arranges its objects lo-to-hi by default