revising BGL code (isomorphism.hpp) that uses abort()
Đang mở
beginner friendly
priority: low
warning
- Ngôn ngữ chính
- C++
- Star
- 392
- Fork
- 239
- Merge trung bình
- 1 ngày 11 phút
- Pull request đã merge (30 ngày)
- 20
Mô tả
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?
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.