revising BGL code (isomorphism.hpp) that uses abort()
Offen
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
Bewertung
Dieses Issue wurde noch nicht bewertet.