Skip to content
Snippets Groups Projects

implement bsearch

Merged Jeremy Soller requested to merge jrraymond:bsearch into master

Created by: jrraymond

Two things to consider:

  1. changed the signature of the comparator function to be unsafe (it has to dereference a raw pointer)
  2. provided a default implementation of the comparator, perhaps bsearch should assert instead?

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading