|
Boost : |
From: nbecker_at_[hidden]
Date: 2002-01-23 14:47:32
>> What I'd like (and what I'm trying to implement in command line/config
file
>> parser) is map like interface. So that one could be able to say
>>
>> environment["http_proxy"].as<ip_address>()
>>
>> where "as" method is a shortcut to lexical_cast/any_cast.
What about orthogonality? I don't think translations should be built
in. environment should give you a string. You do whatever conversion
you want from string to whatever using nonmember functions.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk