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

3.1. 配列 中の誤記について #92

Closed
tookunozima opened this issue May 12, 2023 · 3 comments · Fixed by #93
Closed

3.1. 配列 中の誤記について #92

tookunozima opened this issue May 12, 2023 · 3 comments · Fixed by #93

Comments

@tookunozima
Copy link

githubについて慣れてなく、Issuesに提起してよいのか分かりませんが、

配列の要素数を求める方法としてC++11より前ではプリプロセッサマクロを使用するのが一般的でしたが、C++11からは次のようにして求めることができます。この関数はC++17以降では std:size という関数として標準ライブラリに存在します。

の'std:size'という部分は'std::size'関数と解してよろしいでしょうか。
貴サイトにてC++勉強中です。よろしくお願いいたします。

yumetodo added a commit to yumetodo/cpp-book that referenced this issue May 18, 2023
@yumetodo
Copy link
Contributor

あ・・・。
PR投げました

@tookunozima
Copy link
Author

ありがとうございます。

1 similar comment
@tookunozima
Copy link
Author

ありがとうございます。

rinatz added a commit that referenced this issue May 18, 2023
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.

2 participants