
19 Aug
2013
19 Aug
'13
11:14 p.m.
Hi.
I have some template code that needs slightly different behavior when it is instantiated
with exact types like int or boost::rational rather than when it is instantiated with
floating point types. The compile-time test depends on std::numeric_limits<T>::is_exact.
I was surprised when this came back false for boost::rational until I found that
std::numeric_limits