|
Boost : |
From: Stefan Slapeta (stefan_at_[hidden])
Date: 2005-03-15 17:30:58
Gennadiy Rozental wrote:
>
> template<typename T>
> struct print_log_value {
> void operator()( std::ostream& ostr, T const& t )
> {
> set_log_precision<std::numeric_limits<T>::is_specialized &&
> std::numeric_limits<T>::radix == 2>::_( ostr );
>
> ostr << t;
> }
> };
>
I'm afraid, no, as you still demand a spezialization
(std::numeric_limits<T>::radix).
Stefan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk