|
Boost : |
From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-11-18 09:53:53
On Nov 17, 2004, at 9:46 PM, Gennadiy Rozental wrote:
> Why would I ever want to invent global
> shared name keyword and used it anytime I want parameter name amoung my
> function parameters??
Because families of functions often take similar parameters. Consider
how many algorithms in the Graph library accept a "weight_map"
parameter: I counted at least 8 of them. How should we handle these
weight map parameters for all of these functions, if we don't share the
keyword?
Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk