Jet  v1.3.3
cpp_utils.h
Go to the documentation of this file.
1 // Copyright (c) 2018 Doyub Kim
2 //
3 // I am making my contributions/submissions to this project solely in my
4 // personal capacity and am not conveying any rights to any intellectual
5 // property of any third parties.
6 
7 #ifndef INCLUDE_JET_CPP_UTILS_H_
8 #define INCLUDE_JET_CPP_UTILS_H_
9 
10 #include <algorithm>
11 
12 namespace jet {
13 
14 template <class ForwardIt, class T, class Compare = std::less<T>>
15 ForwardIt binaryFind(ForwardIt first, ForwardIt last, const T& value,
16  Compare comp = {});
17 } // namespace jet
18 
19 #include "detail/cpp_utils-inl.h"
20 
21 #endif // INCLUDE_JET_CPP_UTILS_H_
jet
Definition: advection_solver2.h:18
jet::binaryFind
ForwardIt binaryFind(ForwardIt first, ForwardIt last, const T &value, Compare comp={})