最終更新日:2025/11/23

(object-oriented programming) A constructor that takes an existing instance as a parameter and copies its values.

音声機能が動作しない場合はこちらをご確認ください
正解を見る

copy constructor

編集履歴(0)
元となった辞書の項目

copy constructor

名詞
日本語の意味
オブジェクト指向プログラミングにおいて、既存のインスタンスを引数として受け取り、その値をコピーするためのコンストラクタ
このボタンはなに?

コピーコンストラクタを実装するときは、浅いコピーを避けるために動的に確保されたメモリを適切に処理することを忘れないでください。

plural

Dictionary quizzes to help you remember vocabulary

編集履歴(0)

ログイン / 新規登録

 

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

DiQt(ディクト)

無料

★★★★★★★★★★