boostorg / boostorg/graph

adjacency_matrix::add_vertex always aborts in Debug mode ?

Abierto
#359 2 comentarios 0 reacciones 1 asignado Reclamado por @jeremy-murphy Ver en GitHub
data structure docs priority: medium
Lenguaje dominante
C++
Estrellas
392
Forks
239
Merge medio
1 d 11 min
PR fusionados (30 d)
20

Descripción

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 ?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.