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