fork download
  1.  
  2. __forceinline iterator find(const find_type& key) {
  3. #if 0
  4. underiter i = std::lower_bound(internal_.begin(), internal_.end(), key, comp_);
  5. return iterator((i==internal_.end() || comp_(key,*i)) ? internal_.end() : i);
  6. #else
  7. underiter i = internal_.begin();
  8. while(i != internal_.end() && comp_(*i, key))
  9. ++i;
  10. return (comp_(key, *i) ? internal_.end() : i);
  11. #endif
  12. }
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty