Skip to content

Commit

Permalink
Merge pull request EzoeRyou#37 from hebo-MAI/master
Browse files Browse the repository at this point in the history
s/func/f/
  • Loading branch information
EzoeRyou authored Jan 15, 2019
2 parents 688abd1 + 46a42f0 commit 84c6037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 013-names.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ int main()

これだけを見ると、名前空間というのはわざわざ名前空間名を指定しなければ使えない面倒な機能に見えるだろう。名前空間の価値は複数人で同じプログラムのソースファイルを編集するときに出てくる。

例えば、アリスとボブがプログラムを共同で開発しているとする。あるプログラムのソースファイル`f`という名前の関数を書いたとする。ここで、同じプログラムを共同開発している他人も`func`という名前の関数を書いたらどうなるか。
例えば、アリスとボブがプログラムを共同で開発しているとする。あるプログラムのソースファイル`f`という名前の関数を書いたとする。ここで、同じプログラムを共同開発している他人も`f`という名前の関数を書いたらどうなるか。

~~~c++
// アリスの書いた関数f
Expand Down

0 comments on commit 84c6037

Please sign in to comment.