Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-03-27 13:07:19

I think there may also be a cute way to do this using bitmasking... I need
to bug Krzysztof to tell me his latest and greatest way of doing this...

Krzysztof, at the template programming workshop you mentioned a better way
for speficying parameters for a generator (a way better than described in
your book?). Would you mind telling us about it?


On Mon, 26 Mar 2001, David Abrahams wrote:

abraha> In the generative interfaces I have seen, the parameters
abraha> name themselves. Using named template parameters is
abraha> overkill in this situation. What we want, for ease-of-use,
abraha> is simply an interface that allows the parameters to be
abraha> passed in any order. That is,
abraha> mutex_generator<checked, nonrecursive>::type
abraha> is self-documenting, but should be equivalent to
abraha> mutex_generator<nonrecursive, checked>::type
abraha> -Dave

 Jeremy Siek www:
 Ph.D. Candidate email: jsiek_at_[hidden]
 Univ. of Notre Dame work phone: (219) 631-3906

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