
16 Mar
2005
16 Mar
'05
2:59 p.m.
"Peter Dimov" <pdimov@mmltd.net> wrote in message news:001301c52a34$4f5d7cc0$6601a8c0@pdimov...
Gennadiy Rozental wrote:
There is still an open issue how to use numeric_limits in generic function. Any ideas?
Don't instantiate it on an array type?
Here is the logic I want: 1. If numeric_limit<T>::is_specialized is true and numeric_limit<T>::radix == 2 then set precision by formula ... 2. print value of type T Gennadiy