|
Boost Users : |
Subject: [Boost-users] property type trait
From: Amir Yazdanbakhsh (amir.yazdanbakhsh_at_[hidden])
Date: 2011-12-31 03:52:54
Hi,
I new to boost graph library. The thing that I have in my mind is to find
the type of property that passed to a function and execute something based
on that.
I implemented two bundled properties each for vertex and edge. I want to
implement a general function, say print a property, if the passed property
is a vertex property the function should iterate over vertices and print
out them and if it's edge property it should iterate over edges. Is it any
way to do that? Thanks
Best Regards,
A. Yazdanbakhsh
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
PhD. Student
School of Electrical and Computer Engineering
University of Wisconsin-Madison
E-mail: yazdanbakhsh_at_[hidden]
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
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