
19 Apr
2004
19 Apr
'04
2:04 p.m.
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