Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用語:メンバ変数 #83

Closed
SaitoAtsushi opened this issue Dec 3, 2020 · 0 comments · Fixed by #87
Closed

用語:メンバ変数 #83

SaitoAtsushi opened this issue Dec 3, 2020 · 0 comments · Fixed by #87

Comments

@SaitoAtsushi
Copy link

クラスが持つ変数をメンバ変数といいます。

C++ の用語としては data member です。 規格の日本語版であるところの JISX3014:2003 (C++03 相当ですが) においても「データメンバ」という語が用いられており、これを公式訳語とみなすのが妥当と思われます。

もちろんメンバ変数 (member variable) という語も広く用いられているので説明しておく必要はありますが、原則としては規格に沿った用語を用いるのが好ましいのではないでしょうか。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant