
I need to find a way to know at compile time if that graph has the internal index property or not. Is there any (documented?) way to do it? This is the concrete information I need right now, but, if possible, I'd like to know how to find out if the graph has any concrete internal property, and not only the index one.
I don't think
that this is really documented anywhere... You might look at
pending/property.hpp - there are number of metafunctions there that might be useful. Specifically, I think you'd be looking at property_value, which appears to extract a property from a property list. This may "return" no_property if the requested kind is not supported.
Andrew Sutton
Thanks a lot for the hint, Andrew. It's a pity there isn't a documented way. I consider it a useful feature. Juan