名前空間
変種
操作

<div class="t-tr-text">C + +の概念:<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">C++ concepts:</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div> UnformattedInputFunction

提供: cppreference.com
< cpp‎ | concept

 
 
C + +の概念
基本
Original:
Basic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ライブラリワイド
Original:
Library-Wide
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
コンテナ
Original:
Container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
コンテナ要素
Original:
Container Elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
イテレータ
Original:
Iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
乱数
Original:
Random Numbers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
同時実行
Original:
Concurrency
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
BasicLockable(C++11)
Lockable(C++11)
TimedLockable(C++11)
Mutex(C++11)
TimedMutex(C++11)
その他
Original:
Other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 

[編集] 要件

UnformattedInputFunctionは以下を実行し、ストリーム入力機能です
Original:
An UnformattedInputFunction is a stream input function that performs the following:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
  • 自動記憶域期間を持つと次のことを実行basic_istream::sentryに設定noskipwsの引数を持つ型trueのオブジェクトを構築します
    Original:
    Constructs an object of type basic_istream::sentry with automatic storage duration and with the noskipws argument set to true, which performs the following
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • もしeofbitまたはbadbit入力ストリームに設定されているだけでなく、failbitを設定し、failbitは上の例外がこの入力ストリームの例外マスクで有効になっている場合、ios_base::failureをスロー.
    Original:
    if eofbit or badbit are set on the input stream, sets the failbit as well, and if exceptions on failbit are enabled in this input stream's exception mask, throws ios_base::failure.
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • フラッシュするのtie() 'dの出力ストリーム(該当する場合)
    Original:
    flushes the tie()'d output stream, if applicable
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • sentry::operator bool()と同等ですbasic_ios::goodを呼び出すことによって、見張りの状態をチェックし.
    Original:
    Checks the status of the sentry by calling sentry::operator bool(), which is equivalent to basic_ios::good.
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • Sentryはfalseを返されるか歩哨のコンストラクタが例外をスローした場合:a
    Original:
    If the sentry returned false or sentry's constructor threw an exception:
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • ゼロへの入力ストリームで抽出された文字数(gcount)を設定します
    Original:
    sets the number of extracted characters (gcount) in the input stream to zero
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • 関数はCharTの配列に書き込むために呼び出された場合、配列の最初の場所にCharT()(ヌル文字)を書き込みます
    Original:
    if the function was called to write to an array of CharT, writes CharT() (the null character) to the first location of the array
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • Sentryはtrue返された場合は、入力が実行されます
    Original:
    If the sentry returned true, performs the input
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • 例外は、入力中に投げられたときに、入力ストリームでbadbitを設定します。 badbitを上の例外がこのストリームの例外マスクで有効になっている場合は、例外もスローされ.
    Original:
    if an exception is thrown during input, sets badbit in the input stream. If exceptions on badbit are enabled in this stream's exception mask, the exception is also rethrown.
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • 例外は、入力時に送出されなかった場合は、入力ストリーム内の抽出された文字数(gcount)を設定します.
    Original:
    If no exception was thrown during input, sets the number of extracted characters (gcount) in the input stream.
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • いずれにしても、例外によって終了したり返したりするかどうか、見張りのデストラクタは、この関数を離れる前に呼ばれ.
    Original:
    In any event, whether terminating by exception or returning, the sentry's destructor is called before leaving this function.
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.

[編集] 標準ライブラリ

次のような標準ライブラリ関数はUnformattedInputFunctionsです.
Original:
The following standard library functions are UnformattedInputFunctions.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.