Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

adjacency_matrix::add_vertex always aborts in Debug mode ?

Open
#359 2 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@jeremy-murphy is already working on this.

Since Jan 22, 2024.

Assessment

This issue has not been assessed yet.

Description

data structure docs priority: medium

I found this in graph/adjacency_matrix ligne 966 :

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 ?

Dominant language
C++
Stars
396
Forks
244
Avg merge
2d 6h
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/graph

All issues in boostorg/graph

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.