foobar2000 SDK  2015-08-03
bsearch.cpp
Go to the documentation of this file.
1 #include "pfc.h"
2 
3 //deprecated
4 
5 /*
6 class NOVTABLE bsearch_callback
7 {
8 public:
9  virtual int test(t_size p_index) const = 0;
10 };
11 */
12 
13 namespace pfc {
14 
15  bool bsearch(t_size p_count, bsearch_callback const & p_callback,t_size & p_result) {
16  return bsearch_inline_t(p_count,p_callback,p_result);
17  }
18 
19 }
bool bsearch_inline_t(t_size p_count, const t_callback &p_callback, t_size &p_result)
Definition: bsearch_inline.h:6
size_t t_size
Definition: int_types.h:48
bool bsearch(t_size p_count, bsearch_callback const &p_callback, t_size &p_result)
Definition: bsearch.cpp:15