[Lemon-user] using lemon and BGL: ignore_unused_variable_warning

Christian Bähnisch christian-baehnisch at gmx.de
Mon May 18 14:45:17 CEST 2009


Hello,

I noticed that both in 
#include <boost/graph/graph_concepts.hpp>
and in 
#include <lemon/graph_concepts.hpp>

the helper template function "ignore_unused_variable_warning" is defined!
Trying to write an BGL adaption of a ListGraph, for me gcc complains e.g. 
about

"call of overloaded	 
'ignore_unused_variable_warning(lemon::ListGraphBase::Node&)' is ambiguous"

 if the concept check functionality of BGL is used. Any suggestions on how to 
fix this?

I hope someone is able to understand my problem. If not I can try to be more 
specific.

greetings chris




More information about the Lemon-user mailing list