Changeset 3403
- Timestamp:
- Mar 31, 2015, 7:18:45 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/priority_queue.cc
r3399 r3403 90 90 workers.join_all(); 91 91 suite.out() << "\n"; 92 93 typedef std::greater<std::string> MyComp; 94 MyComp comp; 95 PriorityQueue<std::string, MyComp> queue2(comp); 96 queue2.push("hello"); 97 92 98 return suite.return_value(); 93 99 } -
trunk/yat/utility/PriorityQueue.h
r3399 r3403 67 67 */ 68 68 PriorityQueue(void) {} 69 70 /** 71 \brief Create a PriorityQueue with \a comp as Compare functor 72 */ 73 explicit PriorityQueue(const Compare& comp) : q_(comp) {} 69 74 70 75 /**
Note: See TracChangeset
for help on using the changeset viewer.