Skip to content

Provide more ways to customize CPO edges(g, uid) #176

@akrzemi1

Description

@akrzemi1

Currently, CPO edges(g, uid) has only two ways of customizing it:

  1. Either by providing a free function edges(g, uid)
  2. Or when vertex_t<G> is a forward_range and find_vertex(g, uid) is valid.

This is the nly CPO that does not allow a customization via a member function. Consider allowing one or both of the following customizations:

  1. Return g.edges(uid) if valid.
  2. Return edges(g, g.vertices()[uid]) if valid and decltype(g.vertices()) is random_access_range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions