Boost logo

Boost Users :

From: Jeremy Siek (jeremy.siek_at_[hidden])
Date: 2006-04-23 10:18:38


Hi Daniel,

On Apr 22, 2006, at 10:29 PM, Daniel Mitchell wrote:
> Hi Jeremy. As long as I have your attention, I'll take this
> opportunity to ask
> a question. Why do you think assuming EdgeContainer::size_type is
> independent
> of the edge type is a better solution than simply defining
> edges_size_type as
> unsigned long or size_t? I think your assumption is likely to be
> valid, but
> wouldn't unsigned long be large enough to hold the number of edges
> in every
> case? Maybe I'm answering my own question, but the only case I can
> think of
> where unsigned long might not be large enough is if the
> adjacency_list user
> specialized container_gen for some custom container where size_type
> is a "big
> integer" class. Is this the scenario you had in mind?

Yes, that's it.

Cheers,
Jeremy


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