boostorg / boostorg/graph

adjacency_matrix::add_vertex always aborts in Debug mode ?

未关闭
#359 2 条评论 0 个 reaction 已指派 1 人 已被 @jeremy-murphy 认领 在 GitHub 查看
data structure docs priority: medium
主要语言
C++
星标
392
派生
239
平均合并
1 天 11 分钟
30 天内合并 PR
20

描述

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 ?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。