Opened 10 years ago

Closed 10 years ago

#7600 closed Patches (fixed)

add_vertex ambiguous overload with named_graph

Reported by: Louis Dionne <louis.dionne92@…> Owned by: Jeremiah Willcock
Milestone: To Be Determined Component: graph
Version: Boost 1.51.0 Severity: Problem
Keywords: graph named_graph vertex_name vertex_property Cc:

Description

Hello,

While trying to use a named graph with vertex names that have the same type as the vertex properties, I ran into an error. The error comes from the fact that the add_vertex overload resolution is ambiguous. The compiler can't select between the add_vertex of the named_graph and that of the PropertyGraph that is adapted by the named_graph.

A patch containing a fix is attached.

Louis Dionne

Attachments (1)

named_graph.patch (1.4 KB ) - added by Louis Dionne <louis.dionne92@…> 10 years ago.
possible fix

Download all attachments as: .zip

Change History (2)

by Louis Dionne <louis.dionne92@…>, 10 years ago

Attachment: named_graph.patch added

possible fix

comment:1 by Jeremiah Willcock, 10 years ago

Resolution: fixed
Status: newclosed

(In [81099]) Applied patch from #7600; fixes #7600

Note: See TracTickets for help on using tickets.