VCCC  2024.05
VisualCamp Common C++ library
output_range.hpp
Go to the documentation of this file.
1 //
2 // Created by YongGyu Lee on 3/27/24.
3 //
4 
5 #ifndef VCCC_RANGES_OUTPUT_RANGE_HPP_
6 #define VCCC_RANGES_OUTPUT_RANGE_HPP_
7 
10 #include "vccc/__ranges/range.hpp"
12 
13 namespace vccc {
14 namespace ranges {
15 namespace detail {
16 
18 struct output_range_impl : std::false_type {};
19 
20 template<typename R, typename T>
21 struct output_range_impl<R, T, true> : output_iterator<iterator_t<R>, T> {};
22 
23 } // namespace detail
24 
27 
28 template<typename R, typename T>
29 struct output_range : detail::output_range_impl<R, T> {};
30 
32 
33 } // namespace ranges
34 } // namespace vccc
35 
36 #endif // VCCC_RANGES_OUTPUT_RANGE_HPP_
Definition: directory.h:12
constexpr VCCC_INLINE_OR_STATIC detail::element_niebloid< 1 > value
Definition: key_value.hpp:35
Definition: output_range.hpp:29