Document capture list for BOOST_COMPUTE_CLOSURE()
Đang mở
documentation
- Ngôn ngữ chính
- C++
- Star
- 1.7k
- Fork
- 340
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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).
```
##
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.