VCCC  2024.05
VisualCamp Common C++ library
view.hpp
Go to the documentation of this file.
1 //
2 // Created by yonggyulee on 2023/12/24.
3 //
4 
5 #ifndef VCCC_RANGES_VIEW_HPP_
6 #define VCCC_RANGES_VIEW_HPP_
7 
10 #include "vccc/__ranges/range.hpp"
12 
13 namespace vccc {
14 namespace ranges {
15 
18 
25 template<typename T>
26 struct view
27  : conjunction<
28  range<T>,
29  movable<T>,
30  enable_view<T>
31  > {};
32 
34 
35 } // namespace ranges
36 } // namespace vccc
37 
38 #endif // VCCC_RANGES_VIEW_HPP_
Definition: directory.h:12
Definition: conjunction.hpp:22
specifies that a range is a view, that is, it has constant time copy/move/assignment
Definition: view.hpp:31