「cpp/io/basic ios/tie」の版間の差分
提供: cppreference.com
細 (Use {{lc}}. Update links. Various fixes.) |
細 (Fix some translations) |
||
26行: | 26行: | ||
===例外=== | ===例外=== | ||
− | + | () | |
===ノート=== | ===ノート=== |
2015年11月30日 (月) 06:15時点における版
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
std::basic_ostream<CharT,Traits>* tie() const; |
(1) | |
std::basic_ostream<CharT,Traits>* tie( std::basic_ostream<CharT,Traits>* str ); |
(2) | |
縛らストリームを管理します。縛らストリームは、ストリームバッファ(
1) rdbuf()
)によって制御されるシーケンスと同期化された出力ストリームです、flush()は*this上の任意の入力/出力操作の前に結ばれたストリーム上で呼び出されます.Original:
Manages the tied stream. A tied stream is a output stream which is synchronized with the sequence controlled by the stream buffer (
rdbuf()
), that is, flush() is called on the tied stream before any input/output operation on *this.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
現在縛られたストリームを返します。全く縛らストリームが存在しない場合は、NULLが返されます.
2) Original:
Returns the current tied stream. If there is no tied stream, NULL is returned.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
str
に現在関連付けられてストリームを設定します。操作の前に縛られたストリームを返します。全く縛らストリームが存在しない場合は、NULLが返されます.Original:
Sets the current tied stream to
str
. Returns the tied stream before the operation. If there is no tied stream, NULL is returned.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目次 |
パラメータ
str | - | 縛らストリームとして設定する出力ストリーム
Original: an output stream to set as the tied stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
値を返します
縛らストリーム、またはNULL全く縛らストリームが存在しなかった場合..
Original:
The tied stream, or NULL if there was no tied stream.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
例外
(なし)
ノート
デフォルトでは、標準ストリーム
cin
、cerr
とclog
cout
に関連付けられています。同様に、彼らの幅広い対応wcin
、wcerr
とwclog
wcout
に関連付けられています.Original:
By default, the standard streams
cin
, cerr
and clog
are tied to cout
. Similarly, their wide counterparts wcin
, wcerr
and wclog
are tied to wcout
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
例
This section is incomplete Reason: no example |