-
Notifications
You must be signed in to change notification settings - Fork 4
Description
I just downloaded the library trying to implement it in a project of mine.
I am running into two issues, both in "Graph.h".
Firstly, on line 111, there is an illegal qualified name in member declaration, which can be fixed by deleting the "Graph::" from "Graph::findNodeById".
Secondly, and harder to fix (for me, as I am not an extremely experienced C++ programmer) there is a syntax error in the "Graph& operator << (T& rEdge)" definition, at line 86.
The code reads:
"
// forward as r-value reference
makeEdge(std::move(rEdge))
return *this;
"
Which visual studio is suggesting adding a semi-colon at the end of the line containing makeEdge. However, doing that (which I get the feeling is not the correct answer) generates two more issues, at line 74:
"
Error C2440 '': cannot convert from 'initializer list' to 'T'
Error C2672 'Graph::makeEdge': no matching overloaded function found
"
I am building with ISO C++14 Standard and Legacy MSVC C Standard.
Any help on the issue would be greatly appreciated.