Dear Boost-Users,
Related to: boost::graph::directed_graph
I've trouble with the Constructors of above as a simple example shows:
<<<<<<<<<<<<<<<<<<<
using namespace boost;
typedef directed_graph<> Directed_Graphtype;
class Mywrapper
{
private:
Directed_Graphtype g;
public:
Mywrapper() : g() {};
};
>>>>>>>>>>>>
I got the following Error while compiling:
<<<<<<<<<<<<<<<<
HOME/svn_repos/collab_cntfet/trunk/STA_signalintegrity/circuitGraph.h|78| instanziiert von hier|
/usr/include/boost/graph/directed_graph.hpp|96|Fehler: keine passende Funktion für Aufruf von »boost::adjacency_list, boost::property, boost::no_property, boost::listS>::adjacency_list(const boost::directed_graph<>&)«|
/usr/include/boost/graph/directed_graph.hpp|96|Anmerkung: Kandidaten sind:|
/usr/include/boost/graph/adjacency_list.hpp|451|Anmerkung: template boost::adjacency_list::adjacency_list(EdgeIterator, EdgeIterator, EdgePropertyIterator, boost::adjacency_list::vertices_size_type, boost::adjacency_list::edges_size_type, const GraphProperty&)|
/usr/include/boost/graph/adjacency_list.hpp|443|Anmerkung: template<class EdgeIterator> boost::adjacency_list::adjacency_list(EdgeIterator, EdgeIterator, boost::adjacency_list::vertices_size_type, boost::adjacency_list::edges_size_type, const GraphProperty&)|
/usr/include/boost/graph/adjacency_list.hpp|435|Anmerkung: boost::adjacency_list::adjacency_list(boost::adjacency_list::vertices_size_type, const GraphProperty&) [with OutEdgeListS = boost::listS, VertexListS = boost::listS, DirectedS = boost::bidirectionalS, VertexProperty = boost::property, EdgeProperty = boost::property, GraphProperty = boost::no_property, EdgeListS = boost::listS, boost::adjacency_list::vertices_size_type = long unsigned int]|
/usr/include/boost/graph/adjacency_list.hpp|435|Anmerkung: keine bekannte Umwandlung für Argument 1 von »const boost::directed_graph<>« nach »long unsigned int«|
/usr/include/boost/graph/adjacency_list.hpp|418|Anmerkung: boost::adjacency_list::adjacency_list(const boost::adjacency_list&) [with OutEdgeListS = boost::listS, VertexListS = boost::listS, DirectedS = boost::bidirectionalS, VertexProperty = boost::property, EdgeProperty = boost::property, GraphProperty = boost::no_property, EdgeListS = boost::listS, boost::adjacency_list = boost::adjacency_list, boost::property, boost::no_property, boost::listS>]|
/usr/include/boost/graph/adjacency_list.hpp|418|Anmerkung: keine bekannte Umwandlung für Argument 1 von »const boost::directed_graph<>« nach »const boost::adjacency_list, boost::property, boost::no_property, boost::listS>&«|
/usr/include/boost/graph/adjacency_list.hpp|414|Anmerkung: boost::adjacency_list::adjacency_list(const GraphProperty&) [with OutEdgeListS = boost::listS, VertexListS = boost::listS, DirectedS = boost::bidirectionalS, VertexProperty = boost::property, EdgeProperty = boost::property, GraphProperty = boost::no_property, EdgeListS = boost::listS]|
/usr/include/boost/graph/adjacency_list.hpp|414|Anmerkung: keine bekannte Umwandlung für Argument 1 von »const boost::directed_graph<>« nach »const boost::no_property&«|
||=== Build finished: 11 errors, 0 warnings ===|
>>>>>>>>>>>>>>>>>>>>
I would really like to know, where the problem is with this templates.
The default constructor exists of course for boost::directed_graph and
boost::adjacency_list a.s.o. ... however the compiler don't like them.
This is confusing. Can someone help me out?
Kind Regards Matthias
--
Dipl.-Ing. Matthias Beste
Wissenschaftlicher Mitarbeiter
Lehrstuhl für Dependable Nano Computing (CDNC)
Institute für technische Informatik (ITEC)
Karlsruhe Institute of Technology (KIT)
Haid-und-Neu Str.7 (Bldg 07.21)
76131 Karlsruhe, Germany
Phone: +49 721 608-45009; Fax: +49 721 608-43962
Email: matthias.beste(at)kit.edu mailto:matthias.beste@kit.edu
web: http://cdnc.itec.kit.edu/