|
Boost : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-04-19 09:04:41
Hi Daniel,
> [snip]
>> I wonder what's the reason to require conversion/construction of
>> keywords<>? Couldn't (color = 10, name = "foo") already create a type
>> with proper operator[])?
>
> Yes, it could. The point of keywords<> is to enable positional
> parameters as well as named (and also the SFINAE stuff).
I see.
> Anyway, I
> checked in some changes to the sandbox that enables list creation with
> operator,. Could you try that version out?
I've just tried it. For my tests, it works perfectly. Thanks!
I'll try to take a closer look at implementation later -- I really hope some
of it can be reusable in a winder context (see my reply to Thorsten).
Thanks,
Volodya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk