Skip to content

Commit

Permalink
Merge pull request #1272 from Kiterai/patch-1
Browse files Browse the repository at this point in the history
fix: C++11/Pragma演算子 の項のサンプルコード中のコメントの修正
  • Loading branch information
faithandbrave committed May 7, 2024
2 parents 2486f06 + bcfaf97 commit a741689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/cpp11/pragma_operator.md
Expand Up @@ -43,7 +43,7 @@ int main()
int b[N] = {1, 2, 3, 4, 5};
int c[N] = {};

// OMP_PARALLEL_FORは、 #pragma omp parallel for に展開される
// OMP_PARALLEL_FORは、 _Pragma("omp parallel for") に展開される
OMP_PARALLEL_FOR
for (int i = 0; i < N; ++i) {
c[i] = a[i] + b[i];
Expand Down

0 comments on commit a741689

Please sign in to comment.