Boost logo

Boost :

From: Janusz Piwowarski (jpiw_at_[hidden])
Date: 2003-08-23 10:56:57


Hi all

gcc 3.2 generates warnings about implicit typename in line 313 in file
adjacency_list_io.hpp. I think either there should be EdgePrinter<G,E>
call or class G should be renamed to Graph, as is in the rest of
templates in this file.

Regards,
Janusz

// line 301, cvs head
template<class G, class E>
struct GraphPrinter<G,no_property,E>
  : public EdgePrinter<G,E>
{
        GraphPrinter( G& g )
          : EdgePrinter<G,E>(g)
        {}

        const GraphPrinter& operator () ( std::ostream& out ) const
        {
                out << "n "<< num_vertices(graph) << std::endl;
                EdgePrinter<Graph,E>::operator ()( out );
// ^^^^^
                return (*this);
        }
};


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk