boostorg / boostorg/array

Warning: "Possible misuse of comma operator"

Offen
#12 8 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
24
Forks
55
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I'm seeing a warning being emitted by this library when I'm using Xcode 10.3:

https://github.com/boostorg/array/blob/92f66a9f14ca1eef03b6028b01a1cab05e989991/include/boost/array.hpp#L185

> Possible misuse of comma operator here

![image](https://user-images.githubusercontent.com/192418/93354305-2410dd80-f83d-11ea-9c03-8f0a637bd472.png)

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` ?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.