boostorg / boostorg/graph

revising BGL code (isomorphism.hpp) that uses abort()

Offen
#163 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
beginner friendly priority: low warning
Vorherrschende Sprache
C++
Sterne
392
Forks
239
Ø Merge
1 T. 11 Min.
Gemergte PRs (30 T.)
20

Beschreibung

https://github.com/boostorg/graph/blob/887e63d34e977ae439e392282422d2b82791a730/include/boost/graph/isomorphism.hpp#L321 is an abort() call. This is a problem for interoperation with R as the static checker warns about such calls, and warnings preclude inclusion of packages in certain ecosystems.

There don't seem to be many instances of abort() in BGL code. Should it be replaced by a boost::throw_exception?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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