Skip to content

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