Top/Lang/C++

目次

下位ページ

C++ のキーワード

プリプロセッサ

#error <error-message>

初期化

継承される可能性のあるclassは、デストラクタを仮想にする

型の別名宣言 using

型を別名宣言する場合

関数ポインタに対して宣言する場合

typedef void (*funcptr)(int);       // typedef を使用する場合
using funcptr = void (*)(int);      // using を使用する場合

コンパイル時に構造体のサイズを知る

cast

static_cast

dynamic_cast

const_cast

reinterpret_cast

gcc / g++

参考リンク


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS