g*********s 发帖数: 1782 | 1 assert(set.empty() || set.begin() == min_element(set.begin(), set.end()) | p***o 发帖数: 1252 | 2 no *
【在 g*********s 的大作中提到】 : assert(set.empty() || set.begin() == min_element(set.begin(), set.end())
| g*********s 发帖数: 1782 | 3 oh, yes. i corrected it. so is it always true?
【在 p***o 的大作中提到】 : no *
| p***o 发帖数: 1252 | 4 No unless you send set.key_comp() to min_element as well.
【在 g*********s 的大作中提到】 : oh, yes. i corrected it. so is it always true?
|
|