Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-02-07 05:55:35

From: "Beman Dawes" <bdawes_at_[hidden]>
> 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.

The problem with named parameters is

template<class A, class B> struct X;
template<class B, class A> struct X;

X<A=int, B=float> * px;

Boost list run by bdawes at, gregod at, cpdaniel at, john at