201201 < p class ="text-right "> < small >
202202 最終更新日時:
203203 < time itemprop ="datePublished " class ="js-local-time "
204- datetime ="2026-08-19T17:22:33 +09:00 ">
205- 2026年08月19日 17時22分33秒 (JST)
204+ datetime ="2026-08-25T11:46:21 +09:00 ">
205+ 2026年08月25日 11時46分21秒 (JST)
206206 </ time >
207207 < br />
208208 < span itemprop ="author " itemscope itemtype ="http://schema.org/Person ">
255255< h2 > 概要</ h2 >
256256< p > < code > char_type</ code > 型の文字を < code > char</ code > 型の文字に変換する。</ p >
257257< h2 > < a class ="cpprefjp-defined-word " data-desc ="関数呼び出し式の評価結果となるオブジェクト・値 "> 戻り値</ a > </ h2 >
258- < p > < code > < a href ="../../locale/use_facet.html "> use_facet</ a > << a href ="../../locale/ctype.html "> ctype</ a > <char_type>(< a href ="../ios_base/getloc.html "> getloc</ a > ()).< span href ="https://cpprefjp.github.io/reference/ locale/ctype/narrow.md.nolink "> narrow</ span > (c, def)</ code > </ p >
258+ < p > < code > < a href ="../../locale/use_facet.html "> use_facet</ a > << a href ="../../locale/ctype.html "> ctype</ a > <char_type>(< a href ="../ios_base/getloc.html "> getloc</ a > ()).< a href ="../../ locale/ctype/narrow.html "> narrow</ a > (c, def)</ code > </ p >
259259< h2 > 備考</ h2 >
260260< p > ストリームに設定されているロケールに従って、< code > char_type</ code > 型の文字 < code > c</ code > を対応する < code > char</ code > 型の文字に変換する。変換できなかった場合には < code > def</ code > を返す。< br />
261- 詳細は < code > < a href ="../../locale/ctype.html "> ctype</ a > ::< span href ="https://cpprefjp.github.io/reference/ locale/ctype/narrow.md.nolink "> narrow</ span > </ code > を参照。</ p >
261+ 詳細は < code > < a href ="../../locale/ctype.html "> ctype</ a > ::< a href ="../../ locale/ctype/narrow.html "> narrow</ a > </ code > を参照。</ p >
262262< h2 > 例</ h2 >
263263< p > < div class ="yata " id ="6be3cbaabfc0498eccdac9564573211743d293d2 "> < div class ="codehilite "> < pre > < span > </ span > < code > < span class ="cp "> #include < a href ="../../iostream.html "> <iostream></ a > </ span >
264264
@@ -284,8 +284,8 @@ <h2>参照</h2>
284284< li > < code > < a href ="../ios_base.html "> ios_base</ a > ::< a href ="../ios_base/imbue.html "> imbue</ a > </ code > </ li >
285285< li > < code > < a href ="../ios_base.html "> ios_base</ a > ::< a href ="../ios_base/getloc.html "> getloc</ a > </ code > </ li >
286286< li > < code > < a href ="../../locale/ctype.html "> ctype</ a > </ code > </ li >
287- < li > < code > < a href ="../../locale/ctype.html "> ctype</ a > ::< span href ="https://cpprefjp.github.io/reference/ locale/ctype/narrow.md.nolink "> narrow</ span > </ code > </ li >
288- < li > < code > < a href ="../../locale/ctype.html "> ctype</ a > ::< span href ="https://cpprefjp.github.io/reference/ locale/ctype/widen.md.nolink "> widen</ span > </ code > </ li >
287+ < li > < code > < a href ="../../locale/ctype.html "> ctype</ a > ::< a href ="../../ locale/ctype/narrow.html "> narrow</ a > </ code > </ li >
288+ < li > < code > < a href ="../../locale/ctype.html "> ctype</ a > ::< a href ="../../ locale/ctype/widen.html "> widen</ a > </ code > </ li >
289289< li > < code > < a href ="../../locale/use_facet.html "> use_facet</ a > </ code > </ li >
290290< li > < code > < a href ="../../locale/locale.html "> locale</ a > </ code > </ li >
291291</ ul > </ div >
0 commit comments