boostorg / boostorg/compute

Document capture list for BOOST_COMPUTE_CLOSURE()

オープン
#361 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
documentation
主要言語
C++
スター
1.7k
フォーク
340
PR マージ指標
30日以内にマージされた PR はありません

説明

Document the capture list for `BOOST_COMPUTE_CLOSURE()` better. Indicate that it is a Boost.PP tuple rather than a sequence (perhaps have an example showing capturing multiple values).

From the review:

```
Also,
doesn't explain what format the lists (arguments and capture) should be
in. Preprocessor functions often take lists in other formats, such as a
Boost.PP Sequence
,
and your example only has one-element lists, so it's not enough to
clarify this point. (To be clear: I'm not suggesting you should use
Boost.PP sequences, merely that you should make it clear in the docs
whether you are).
```
##

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。