VCCC  2024.05
VisualCamp Common C++ library
in_range.hpp
Go to the documentation of this file.
1 //
2 // Created by YongGyu Lee on 5/8/24.
3 //
4 
5 #ifndef VCCC_UTILITY_IN_RANGE_HPP_
6 #define VCCC_UTILITY_IN_RANGE_HPP_
7 
8 #include <limits>
9 
10 #include "vccc/__utility/cmp.hpp"
11 
12 namespace vccc {
13 
16 
17 template<typename R, typename T>
18 constexpr bool in_range(T t) noexcept {
21 }
22 
24 
25 } // namespace vccc
26 
27 #endif // VCCC_UTILITY_IN_RANGE_HPP_
constexpr VCCC_INLINE_OR_STATIC detail::max_niebloid max
Definition: max.hpp:95
constexpr VCCC_INLINE_OR_STATIC detail::min_niebloid min
Definition: min.hpp:90
constexpr bool cmp_greater_equal(T t, U u) noexcept
Definition: cmp.hpp:91
constexpr bool in_range(T t) noexcept
Definition: in_range.hpp:18
constexpr bool cmp_less_equal(T t, U u) noexcept
Definition: cmp.hpp:86
Definition: directory.h:12