|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-07-12 13:06:10
Rob Stewart <stewart_at_[hidden]> writes:
> From: David Abrahams <dave_at_[hidden]>
>> Edward Diener <eddielee_at_[hidden]> writes:
>>
>> Okay, I understand what you're driving at. I'm not sure if going down
>> this road is worth the trouble, but if it is, I'd rather see a
>> standard system for referring to versions numerically. So, for
>> example:
>>
>> Version Value
>> ------- -----
>> 6.0 060000
>> 6.0sp5 060005
>> 7.0 070000
>> 7.1 070100
>> 5.3.4 050304
>> 3.4.3 030403
>> 2.95.3 029503
>
> You probably need to allow another digit for each field. 95 is
> awfully close to rolling over to three digits.
Well, the only compiler that's ever approached that number is GCC, and
they are recommending 2-digit fields. I don't think numbers over 20
will come up -- to say nothing of numbers over 99! -- in the
forseeable future.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk