最終更新日:2025/12/04

When I tried to declare a local object with angle brackets, the compiler fell victim to the most vexing parse and interpreted my declaration as a function prototype.

正解を見る

When I tried to declare a local object with angle brackets, the compiler fell victim to the most vexing parse and interpreted my declaration as a function prototype.

音声機能が動作しない場合はこちらをご確認ください
編集履歴(0)
元となった例文

山括弧(<>)を使ってローカルオブジェクトを宣言しようとしたとき、コンパイラは宣言が関数プロトタイプとして解釈されてしまうC++の構文曖昧性に引っかかってしまいました。

Sentence quizzes to help you learn to read

編集履歴(0)

ログイン / 新規登録

 

アプリをダウンロード!
DiQt

DiQt(ディクト)

無料

★★★★★★★★★★