boostorg / boostorg/graph

adjacency_matrix::add_vertex always aborts in Debug mode ?

Đang mở
#359 2 bình luận 0 reaction 1 người được giao Được @jeremy-murphy nhận Xem trên GitHub
data structure docs priority: medium
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ả

I found this in `graph/adjacency_matrix` ligne 966 :

```cpp
template < typename D, typename VP, typename EP, typename GP, typename A >
inline typename adjacency_matrix< D, VP, EP, GP, A >::vertex_descriptor
add_vertex(adjacency_matrix< D, VP, EP, GP, A >& g)
{
// UNDER CONSTRUCTION
BOOST_ASSERT(false);
return *vertices(g).first;
}
```
Does it mean there is no way to add vertices to an already-constructed adjacency_matrix ? Am i missing something ?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.