
14 Nov
2004
14 Nov
'04
10:52 p.m.
On Sun, 2004-11-14 at 10:42 -0500, Jeffrey Holle wrote:
You can't use templates in this manner. Ask yourself, which type of Data object do you expect boost.graph to instanciate when a new vertex is created? It can only make one choice.
I know that this was broken. I made the declaration that it was.
If I was doing this, and was concerned about memory consumption, I'd consider using a union attribute in Data, along with a type attribute.
Can you provide a simple example using the two types I gave in this example: float and uint32_t? Stephen