|
Boost Users : |
From: Ewgenij Sokolovski (ewgenijkkg_at_[hidden])
Date: 2007-06-30 10:45:54
Hello! I want to implement a visitor for the dijkstra_shortest_paths (...) algorithm. The visitor interface requires several methods which should be provided in each visitor object. But I need only one of these functions. So I considered to implement the others as empty functions like:
void function(...)
{
}
The problem now is, that as I apparently don't use the parameters, given to the function, inside of its body, the compiler prints out warnings about unused parameters.
Is there a possibility to avoid this annoying thing? Except of disabling the warnings of the compiler in general.
Regards
Ewgenij
-- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net