VCCC
2024.05
VisualCamp Common C++ library
sentinel_for.hpp
Go to the documentation of this file.
1
//
2
// Created by yonggyulee on 2023/12/24.
3
//
4
5
#ifndef VCCC_ITERATOR_SENTINEL_FOR_HPP_
6
#define VCCC_ITERATOR_SENTINEL_FOR_HPP_
7
8
#include "
vccc/__concepts/semiregular.hpp
"
9
#include "
vccc/__concepts/weakly_equality_comparable_with.hpp
"
10
#include "
vccc/__iterator/input_or_output_iterator.hpp
"
11
#include "
vccc/__type_traits/conjunction.hpp
"
12
13
namespace
vccc
{
14
17
18
template
<
typename
S,
typename
I>
19
struct
sentinel_for
20
:
conjunction
<
21
semiregular<S>,
22
input_or_output_iterator<I>,
23
weakly_equality_comparable_with<S, I>
24
> {};
25
27
28
}
// namespace vccc
29
30
#endif
// VCCC_ITERATOR_SENTINEL_FOR_HPP_
conjunction.hpp
input_or_output_iterator.hpp
vccc
Definition:
directory.h:12
semiregular.hpp
vccc::conjunction
Definition:
conjunction.hpp:22
vccc::sentinel_for
Definition:
sentinel_for.hpp:24
weakly_equality_comparable_with.hpp
include
vccc
__iterator
sentinel_for.hpp
Generated by
1.9.1