Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2002-02-06 23:11:39


I'm a big fan of having named (or keyword) parameters in the language.

On 2/6/02 8:04 PM, "Beman Dawes" <bdawes_at_[hidden]> wrote:
> One solution being discussed (used by many languages) is named parameters:
>
> my_vector<int, checking_policy=range_checking> v;
>
> It works particularly well when you want to supply a non-default only for
> the last of a long list of arguments.
>
> There is an open question as to whether it is acceptable to simulate
> named-parameters using template techniques, or they should be built into
> the language.
>
> --Beman

-- 
Jeremy Siek                          http://www.osl.iu.edu/~jsiek
Ph.D. Student, Indiana Univ. B'ton   email: jsiek_at_[hidden]
C++ Booster (http://www.boost.org)   office phone: (812) 855-3608

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk