Boost logo

Boost Users :

From: Stephen torri (storri_at_[hidden])
Date: 2004-11-13 14:14:30


Has anyone used a template class to store information in a vertex of a
boost graph? I am looking for a way in which to store a variety of data
types in a boost graph.

So that if a sample class like following:

template <typename T>
class Data
{
  ...
};

It can be used to data such that a Data<int> and a Data<float> can be
stored at a vertex in the graph. Is what I desire possible?

Stephen


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