1+ <!doctype html>
2+ < html class ="cpprefjp " lang ="ja " itemscope ="" itemtype ="http://schema.org/WebPage ">
3+ < head >
4+
5+
6+ <!-- Google tag (gtag.js) -->
7+ < script async src ="https://www.googletagmanager.com/gtag/js?id=G-NXNBNVBTJS "> </ script >
8+ < script >
9+ window . dataLayer = window . dataLayer || [ ] ;
10+ function gtag ( ) { dataLayer . push ( arguments ) ; }
11+ gtag ( 'js' , new Date ( ) ) ;
12+
13+ gtag ( 'config' , 'G-NXNBNVBTJS' ) ;
14+ </ script >
15+
16+
17+ < meta charset ="UTF-8 ">
18+
19+ < title > filter_view::iterator::iterator_category - cpprefjp C++日本語リファレンス</ title >
20+
21+ < meta name ="viewport " content ="width=device-width,initial-scale=1 ">
22+ < meta name ="keywords " content ="
23+ C++,標準ライブラリ,リファレンス,ドキュメント,STL,std,ranges,std::ranges,filter_view::iterator,type-alias,cpp20
24+ ">
25+ < meta name ="title " content ="filter_view::iterator::iterator_category - cpprefjp C++日本語リファレンス " />
26+ < meta itemprop ="name " content ="filter_view::iterator::iterator_category - cpprefjp C++日本語リファレンス " />
27+ < meta property ="og:title " content ="filter_view::iterator::iterator_category - cpprefjp C++日本語リファレンス " />
28+ < meta property ="og:url " content ="https://cpprefjp.github.io/reference/ranges/filter_view/iterator/type-iterator_category.html " />
29+ < meta property ="og:site_name " content ="cpprefjp - C++日本語リファレンス " />
30+ < meta property ="og:type " content ="article " />
31+ < meta property ="og:description " content ="イテレータの分類を表す型。 " />
32+ < meta name ="twitter:card " content ="summary " />
33+ < meta name ="twitter:title " content ="filter_view::iterator::iterator_category - cpprefjp C++日本語リファレンス " />
34+ < meta name ="twitter:url " content ="https://cpprefjp.github.io/reference/ranges/filter_view/iterator/type-iterator_category.html " />
35+ < meta name ="twitter:description " content ="イテレータの分類を表す型。 " />
36+
37+
38+ < link rel ="alternate " type ="application/atom+xml " title ="Atom " href ="https://cpprefjp.github.io/rss.xml " />
39+
40+
41+ < link rel ="apple-touch-icon " sizes ="180x180 " href ="../../../../static/favicons/apple-touch-icon.png?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e ">
42+ < link rel ="icon " type ="image/png " sizes ="32x32 " href ="../../../../static/favicons/favicon-32x32.png?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e ">
43+ < link rel ="icon " type ="image/png " sizes ="16x16 " href ="../../../../static/favicons/favicon-16x16.png?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e ">
44+ < link rel ="manifest " href ="../../../../manifest.json?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e ">
45+ < meta name ="theme-color " content ="#f5f8fc ">
46+
47+ < link rel ="stylesheet " href ="../../../../static/pygments/default.css?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e ">
48+ <!-- <link rel="stylesheet" href="../../../../static/css/root.css"> -->
49+
50+
51+
52+
53+
54+ < link href ="../../../../static/kunai/css/kunai-stage-0.css?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e " rel ="stylesheet ">
55+ < link href ="../../../../static/kunai/css/kunai-stage-1.css?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e " rel ="stylesheet ">
56+ < link href ="../../../../static/kunai/css/kunai-stage-2.css?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e " rel ="stylesheet ">
57+ < link href ="../../../../static/kunai/css/kunai-stage-3.css?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e " rel ="stylesheet ">
58+
59+ < script type ="text/javascript " src ="../../../../static/kunai/js/kunai-vendor.js?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e "> </ script >
60+ < script type ="text/javascript " src ="../../../../static/kunai/js/kunai.js?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e "> </ script >
61+
62+ < script type ="text/javascript ">
63+ document . addEventListener ( 'DOMContentLoaded' , function ( ) {
64+ var kn = new Kunai ;
65+ kn . cpprefjp ( ) ;
66+ } ) ;
67+ </ script >
68+
69+ </ head >
70+ < body >
71+ < header data-kunai-mdinfo ="{"meta": {"header": ["ranges"], "namespace": ["std::ranges"], "class": ["filter_view::iterator"], "id-type": ["type-alias"], "cpp": ["cpp20"]}, "sources": [], "page_id": ["reference", "ranges", "filter_view", "iterator", "type-iterator_category"]} ">
72+ < nav class ="navbar navbar-default " role ="navigation ">
73+ < div class ="container-fluid ">
74+ < div class ="navbar-header ">
75+ < button type ="button " class ="navbar-toggle collapsed " data-toggle ="collapse " data-target ="#navbar-collapse ">
76+ < span class ="sr-only "> Toggle navigation</ span >
77+ < span class ="icon-bar "> </ span >
78+ < span class ="icon-bar "> </ span >
79+ < span class ="icon-bar "> </ span >
80+ </ button >
81+ < a class ="navbar-brand " href ="../../../../index.html ">
82+ < div class ="title-wrapper clearfix ">
83+ < div class ="title "> cpprefjp - C++日本語リファレンス</ div >
84+ </ div >
85+ </ a >
86+ </ div >
87+
88+ < div class ="collapse navbar-collapse " id ="navbar-collapse ">
89+ < ul class ="nav navbar-nav navbar-right ">
90+ < li >
91+ < div class ="google-search ">
92+
93+
94+ < script >
95+ ( function ( ) {
96+ var cx = '013316413321391058734:ji_u66hl7hq' ;
97+ var gcse = document . createElement ( 'script' ) ;
98+ gcse . type = 'text/javascript' ;
99+ gcse . async = true ;
100+ gcse . src = ( document . location . protocol == 'https:' ? 'https:' : 'http:' ) +
101+ '//www.google.com/cse/cse.js?cx=' + cx ;
102+ var s = document . getElementsByTagName ( 'script' ) [ 0 ] ;
103+ s . parentNode . insertBefore ( gcse , s ) ;
104+ } ) ( ) ;
105+ </ script >
106+ < div class ="gcse-search "> </ div >
107+
108+
109+ </ div >
110+ </ li >
111+ < li >
112+ < a href ="https://github.com/cpprefjp/site "> GitHub Project</ a >
113+ </ li >
114+ </ ul >
115+ </ div >
116+ </ div >
117+ </ nav >
118+ </ header >
119+
120+ < main id ="main " role ="main ">
121+ < div class ="container-fluid ">
122+ < div class ="row ">
123+ < div class ="col-sm-9 col-sm-push-3 " itemscope itemtype ="http://schema.org/Article ">
124+ < div class ="row ">
125+ < div class ="col-sm-12 google-search-result ">
126+ < gcse:searchresults > </ gcse:searchresults >
127+ </ div >
128+ </ div >
129+ < div class ="row ">
130+ < div class ="col-sm-12 content-header ">
131+
132+ < ol class ="breadcrumb ">
133+
134+ < li itemscope itemtype ="http://www.schema.org/SiteNavigationElement ">
135+ < span >
136+
137+ < a href ="../../../../index.html " itemprop ="url ">
138+
139+ < i class ="fa fa-fw fa-home "> </ i >
140+
141+ </ a >
142+
143+ </ span >
144+ </ li >
145+
146+ < li itemscope itemtype ="http://www.schema.org/SiteNavigationElement ">
147+ < span >
148+
149+ < a href ="../../../../reference.html " itemprop ="url ">
150+
151+ < span itemprop ="name "> リファレンス</ span >
152+
153+ </ a >
154+
155+ </ span >
156+ </ li >
157+
158+ < li itemscope itemtype ="http://www.schema.org/SiteNavigationElement ">
159+ < span >
160+
161+ < a href ="../../../../reference/ranges.html " itemprop ="url ">
162+
163+ < span itemprop ="name "> ranges</ span >
164+
165+ </ a >
166+
167+ </ span >
168+ </ li >
169+
170+ < li itemscope itemtype ="http://www.schema.org/SiteNavigationElement ">
171+ < span >
172+
173+ < a href ="../../../../reference/ranges/filter_view.html " itemprop ="url ">
174+
175+ < span itemprop ="name "> filter_view</ span >
176+
177+ </ a >
178+
179+ </ span >
180+ </ li >
181+
182+ < li itemscope itemtype ="http://www.schema.org/SiteNavigationElement ">
183+ < span >
184+
185+ < a href ="../../../../reference/ranges/filter_view/iterator.html " itemprop ="url ">
186+
187+ < span itemprop ="name "> iterator</ span >
188+
189+ </ a >
190+
191+ </ span >
192+ </ li >
193+
194+ < li class ="active " itemscope itemtype ="http://www.schema.org/SiteNavigationElement ">
195+ < span >
196+
197+
198+ < span itemprop ="name "> iterator_category</ span >
199+
200+
201+ </ span >
202+ </ li >
203+
204+ </ ol >
205+ < div class ="crsearch "> </ div >
206+
207+ </ div >
208+ </ div >
209+ < div class ="row ">
210+ < div class ="col-sm-12 edit-button ">
211+
212+
213+ < p class ="text-right "> < small >
214+ 最終更新日時(UTC):
215+ < span itemprop ="datePublished " content ="2025-05-29T03:28:06 ">
216+ 2025年05月29日 03時28分06秒
217+ </ span >
218+ < br />
219+ < span itemprop ="author " itemscope itemtype ="http://schema.org/Person ">
220+ < span itemprop ="name "> Akira Takahashi</ span >
221+ </ span >
222+ が更新
223+ </ small > </ p >
224+
225+
226+ < p class ="text-right ">
227+ < a class ="history " target ="_blank " href ="https://github.com/cpprefjp/site/commits/master/reference/ranges/filter_view/iterator/type-iterator_category.md ">
228+ < span class ="fa fa-fw fa-clock-o fa-flip-horizontal "> </ span > 履歴
229+ </ a >
230+ < a class ="edit " target ="_blank " href ="https://github.com/cpprefjp/site/edit/master/reference/ranges/filter_view/iterator/type-iterator_category.md ">
231+ < span class ="fa fa-fw fa-pencil "> </ span > 編集
232+ </ a >
233+ </ p >
234+ </ div >
235+ </ div >
236+ < div class ="row ">
237+ < div class ="col-sm-12 content-body ">
238+
239+ < div class ="identifier-type "> type-alias</ div > < div class ="header "> <ranges></ div > < h1 itemprop ="name "> < span class ="namespace " title ="namespace std::ranges "> std::ranges::</ span > < span class ="class " title ="class filter_view::iterator "> filter_view::iterator::</ span > < span class ="token "> iterator_category</ span > < span class ="cpp cpp20 " title ="C++20で追加 "> (C++20)</ span > </ h1 >
240+ < div itemprop ="articleBody "> < p > < div class ="codehilite "> < pre > < span > </ span > < code > < span class ="k "> using</ span > < span class ="n "> iterator_category</ span > < span class ="o "> =</ span > < span class ="err "> 以下参照</ span > < span class ="p "> ;</ span > < span class ="c1 "> // (1) C++20</ span >
241+ </ code > </ pre > </ div >
242+ </ p >
243+ < h2 > 概要</ h2 >
244+ < p > イテレータの分類を表す型。</ p >
245+ < p > このメンバ型< code > iterator_concept</ code > は、< code > V</ code > が< code > < a href ="../../forward_range.html "> forward_ranges</ a > </ code > コンセプトのモデルである場合にのみ、以下のように定義される。</ p >
246+ < ul >
247+ < li > < code > C = iterator_traits<iterator_t<V>>::iterator_category;</ code > であるとして、</ li >
248+ < li > < code > C</ code > が< code > < a href ="../../../concepts/derived_from.html "> derived_from</ a > << a href ="../../../iterator/iterator_tag.html "> bidirectional_iterator_tag</ a > ></ code > のモデルである場合、< code > iterator_category</ code > は< code > < a href ="../../../iterator/iterator_tag.html "> bidirectional_iterator_tag</ a > </ code > となる</ li >
249+ < li > そうでない場合、< code > C</ code > が< code > < a href ="../../../concepts/derived_from.html "> derived_from</ a > << a href ="../../../iterator/iterator_tag.html "> forward_iterator_tag</ a > ></ code > のモデルである場合、< code > iterator_category</ code > は< code > < a href ="../../../iterator/iterator_tag.html "> forward_iterator_tag</ a > </ code > となる</ li >
250+ < li > そうでない場合、< code > iterator_category</ code > は< code > C</ code > となる</ li >
251+ </ ul >
252+ < h2 > バージョン</ h2 >
253+ < h3 > 言語</ h3 >
254+ < ul >
255+ < li > C++20</ li >
256+ </ ul > </ div >
257+
258+ </ div >
259+ </ div >
260+ </ div >
261+
262+
263+ < div id ="sidebar " class ="col-sm-3 col-sm-pull-9 ">
264+ </ div >
265+
266+
267+ </ div >
268+ </ div >
269+ </ main >
270+ < footer class ="footer navbar navbar-default ">
271+ < div class ="container-fluid ">
272+ < p > < small >
273+ 本サイトの情報は、
274+ < a href ="https://creativecommons.org/licenses/by/3.0/deed.ja " rel ="nofollow "> クリエイティブ・コモンズ 表示 3.0 非移植 ライセンス(CC BY)</ a >
275+ の下に提供されています。
276+ </ small > </ p >
277+ </ div >
278+ </ footer >
279+ </ body >
280+ </ html >
0 commit comments