Warning: "Possible misuse of comma operator"
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
Research direction
Start with include/boost/array.hpp at line 185 and inspect the surrounding expression and its uses. Check how the comma expression interacts with boost::throw_exception and why Xcode 10.3 reports it; done means the warning is addressed without changing the expression's intended behavior.
Written by the indexing model from the issue text.
Description
I'm seeing a warning being emitted by this library when I'm using Xcode 10.3:
Possible misuse of comma operator here

Initially I thought of making a PR to address it, but I don't really understand the expression at that line. Why is boost::throw_exception followed by , true ?
- Dominant language
- C++
- Stars
- 24
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/array
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
std::get overloads? Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/eo-graphs#74 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 88/100
QuantStack/git2cpp#187 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100