$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: abhishek.v_at_[hidden]
Date: 2007-09-10 03:14:48
Hi
I have a function which take an input from the user  whether the graph is 
directed or undirected.
I'm declaring graph as follows :-
typedef adjacency_list < vecS, vecS, undirectedS, property < 
vertex_name_t,std::string >, property < edge_name_t, std::string > > 
Graph;
Graph g;
Now here the parameter in Bold need to be varied as the user input 
changes. One method could be i could have two different function 
say,CreateDirected()
and CreateUndirected(). But this is not working in my case as i want the 
declaration should be global so that i can use it throughout my 
application.  Please help.
Thanks
Abhishek Vyas
Tata Consultancy Services
Mailto: abhishek.v_at_[hidden]
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you