Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私が見たすべての例で、キーワードinlineはヘッダー ファイルの public クラス メソッド (または関数) に使用されています。
inline
実装ファイルでプライベートクラス メソッドをインライン化することについて何か特別なことはありますか?
プライベート関数がインラインであることには特別なことはありません。また、クラス宣言内で定義された関数は暗黙的にインラインになります。