Modify

Opened 5 years ago

Closed 5 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@…> 5 years ago.
possible fix

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by Louis Dionne <louis.dionne92@…>

Attachment: named_graph.patch added

possible fix

comment:1 Changed 5 years ago by Jeremiah Willcock

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jeremiah Willcock.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.