名前空間
変種
操作

「cpp/io/basic streambuf/uflow」の版間の差分

提供: cppreference.com
< cpp‎ | io‎ | basic streambuf
(Translated from the English version using Google Translate)
 
 
(2人の利用者による、間の4版が非表示)
1行: 1行:
{{tr_note}}
 
 
{{cpp/io/basic_streambuf/title|uflow}}
 
{{cpp/io/basic_streambuf/title|uflow}}
 
{{cpp/io/basic_streambuf/navbar}}
 
{{cpp/io/basic_streambuf/navbar}}
 
{{ddcl | 1=
 
{{ddcl | 1=
int_type uflow();
+
int_type uflow();
 
}}
 
}}
  
{{tr|少なくとも1文字は入力エリア(必要な場合)へのポインタを更新することによって、入力領域に使用可能であることを保証します。成功した場合、その文字の値を返し、進歩''の値は、1文字でポインタ''を取得します。不良返品に{{c|traits::eof()}}. |Ensures that at least one character is available in the input area by updating the pointers to the input area (if needed). On success returns the value of that character and advances the value of the ''get pointer'' by one character. On failure returns {{c|traits::eof()}}. }}
+
() ''get ''{{c|traits::eof()}}
  
{{tr|関数は{{tt|gptr}}、{{tt|egptr}}{{tt|eback}}ポインタは、新しくロードされたデータ(もしあれば)の位置を定義するために更新することがあります。失敗した場合、関数はそのどちら{{c|gptr() {{==}} nullptr}}または{{c|gptr() {{==}} egptr}}確実に.|The function may update {{tt|gptr}}, {{tt|egptr}} and {{tt|eback}} pointers to define the location of newly loaded data (if any). On failure, the function ensures that either {{c|gptr() {{==}} nullptr}} or {{c|gptr() {{==}} egptr}}.}}
+
{{tt|gptr}}、 {{tt|egptr}} {{tt|eback}} {{c|gptr() {{==}} nullptr}} または {{c|gptr() {{==}} egptr}}
  
{{tr|関数の基本クラスのバージョンが{{rlpt|underflow}}呼び出します。派生クラスは、枯渇の場合get領域への更新を許可するには、この関数をオーバーライドすることができます.|The base class version of the function calls {{rlpt|underflow}}. The derived classes may override this function to allow updates to the get area in the case of exhaustion.}}
+
{{|underflow}} {{|}}
  
===パラメータ===
+
======
{{tr|(なし)|(none)}}
+
()
  
===値を返します===
+
======
{{tr|''で指された文字の値は、{{c|traits::eof()}}それ以外の場合は1で進めた前''ポインタを取得、または.|The value of the character that was pointed to by the ''get pointer'' before it was advanced by one, or {{c|traits::eof()}} otherwise.}}
+
''get ''{{c|traits::eof()}}
  
{{tr|関数の基本クラスのバージョンが{{rlpt|underflow}}によって返された値を返します。.|The base class version of the function returns the value returned by {{rlpt|underflow}}.}}
+
{{|underflow}}
  
===注意してください===
+
======
{{tr|{{c|std::streambuf}}のパブリック関数は、この関数を呼び出す場合にのみ{{c|1=gptr() == nullptr}}または{{c|1=gptr() >= egptr()}}.|The public functions of {{c|std::streambuf}} call this function only if {{c|1=gptr() == nullptr}} or {{c|1=gptr() >= egptr()}}.}}
+
{{|std::streambuf}} {{c|1=gptr() == nullptr}} または {{c|1=gptr() >= egptr()}}
 +
 
 +
streambuf
  
 
===例===
 
===例===
29行: 30行:
 
}}
 
}}
  
===も参照してください===
+
======
{{dcl list begin}}
+
{{begin}}
{{dcl list template | cpp/io/basic_streambuf/dcl list underflow}}
+
{{| cpp/io/basic_streambuf/underflow}}
{{dcl list template | cpp/io/basic_streambuf/dcl list overflow}}
+
{{| cpp/io/basic_streambuf/overflow}}
{{dcl list end}}
+
{{end}}
 +
 
 +
 +
 +
 +
 +
 +
 +
 +

2018年6月4日 (月) 04:13時点における最新版