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

22.2節の文脈を考慮した修正PR #160

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pojiro
Copy link

@pojiro pojiro commented Aug 15, 2022

コミット 9545292

以下の文章以降でarray_int_3を使用している箇所をarray_int_10に修正しました。

さて、配列の使い方は覚えたので、さっそく`std::array_int_10`を実装してみよう。

コミット 6aaf4e6

以下は、リファレンスの返りをつかい値変更が可能であることを示すことを意図されていると思うので、a[6]a[3]に修正しました。

array_int_10 a = {0,1,2,3,4,5,6,7,8,9} ;
a[3] = 0 ;
std::cout << a[6] ;

@pojiro pojiro changed the title Patch 0 22.2節の文脈を考慮した修正PR Aug 15, 2022
@pojiro pojiro marked this pull request as ready for review August 15, 2022 11:42
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 this pull request may close these issues.

1 participant