emphasizing it's a non-member function

This commit is contained in:
Jidong Xiao
2023-09-14 17:52:53 -04:00
parent 95c7c8c14a
commit 05a8317f26

View File

@@ -39,7 +39,7 @@ will sort Date objects into chronological order.
## 5.3 Questions
- Can you solve leetcode problem 905 with an overloaded operator <?
- Can you solve leetcode problem 905 with an overloaded operator <, and make this overloaded operator < a non-member function?
- Can you solve leetcode problem 905 with an overloaded operator <, and make this overloaded operator < a member function?
- Can you solve leetcode problem 905 with an overloaded operator <, and make this overloaded operator < a member function, plus make the definition of this member function outside of the class definition?