Vultraz

Untitled

Aug 1st, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. template<typename T> static void init_sorting_option(std::vector<tgenerator_::torder_func>& order_funcs, std::function<T>* filter_on)
  2. {
  3.     order_funcs[0] = [this](unsigned i1, unsigned i2)->bool {
  4.         return (*recall_list_)[i1]->filter_on() < (*recall_list_)[i2]->filter_on();
  5.     };
  6. }
Advertisement
Add Comment
Please, Sign In to add comment