removing lambda for now

This commit is contained in:
Jidong Xiao
2024-04-09 13:56:20 -04:00
parent 2033d4827f
commit 2b2e0f07f5

View File

@@ -176,7 +176,7 @@ int main() {
5 4 3 3 1
```
- When using std::priority_queue to store class objects, oftentimes, you need to define a class and overload its function call operator; or use a lambda expression.
- When using std::priority_queue to store class objects, oftentimes, you need to define a class and overload its function call operator.<!--; or use a lambda expression.-->
- You can use std::priority_queue as a min heap via using std::greater, as can be seen in this [example](min_heap.cpp):
```cpp