“no viable conversion” with lemon for clang but valid for g++
问题 Currently, I try to incorporate lemon library in our project. Most developers are on Windows, they compile with MSVC, but I am in charge (for this part) to compile with gcc and clang. I came across an error with clang that gcc does not reproduce and I managed to reduce the code: #include <lemon/dfs.h> int main() { lemon::ListDigraph g{}; lemon::ListDigraph::Node node = g.nodeFromId(42); lemon::Dfs<lemon::ListDigraph> dfs{g}; lemon::SimplePath<lemon::ListDigraph> path = dfs.path(node); return