CppUtils.h
Go to the documentation of this file.
1 /*************************************************************************
2 > File Name: CppUtils.h
3 > Project Name: CubbyFlow
4 > Author: Chan-Ho Chris Ohk
5 > Purpose: C++ utility methods for CubbyFlow.
6 > Created Time: 2017/09/26
7 > Copyright (c) 2018, Chan-Ho Chris Ohk
8 *************************************************************************/
9 #ifndef CUBBYFLOW_CPP_UTILS_H
10 #define CUBBYFLOW_CPP_UTILS_H
11 
12 #include <algorithm>
13 
14 namespace CubbyFlow
15 {
16  template <class ForwardIter, class T, class Compare = std::less<T>>
17  ForwardIter BinaryFind(ForwardIter first, ForwardIter last, const T& value, Compare comp = {});
18 }
19 
21 
22 #endif
ForwardIter BinaryFind(ForwardIter first, ForwardIter last, const T &value, Compare comp)
Definition: CppUtils-Impl.h:19
Definition: pybind11Utils.h:24