how can sort this unary operator and then sort them Unary negation operator ( - )
Fantastic news! We've Found the answer you've been seeking!
Question:
how can sort this unary operator and then sort them
Unary negation operator ( - ) (to be implemented by students)
Numbers operator-()const
This unary operator (that is incapable of modifying the current object) will return a descending sorted copy of the Numbers object.
Unary plus operator ( + ) (to be implemented by students)
Numbers operator+()const
This unary operator (that is incapable of modifying the current object) will return an ascending sorted copy of the Numbers object.
Related Book For
Auditing and Assurance services an integrated approach
ISBN: 978-0132575959
14th Edition
Authors: Alvin a. arens, Randal j. elder, Mark s. Beasley
Posted Date: