|
Boost : |
Subject: Re: [boost] Second iteration of Boost.XInt library uploaded requesting further comments
From: DE (satan66613_at_[hidden])
Date: 2010-03-31 14:44:17
on 31.03.2010 at 22:35
Steven Watanabe wrote :
>> but still i think it's a good idea to define compile time constants as
>> enum members
>>
>> can you clear this question for me once and forever, Steven? is it
>> preferable or is it solely a matter of taste?
>>
> static const size_t is usually better because it has the
> correct type, and so will behave better for overload
> resolution.
from that point of view i agree
thanks
-- Pavel P.S. if you notice a grammar mistake or weird phrasing in my message please point it out
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk