
22 Sep
2010
22 Sep
'10
8:06 a.m.
I would like to use std::numeric_limits<T>::lowest() when the standard library provides it. As this is a specific function on C++0X, I was looking for a macro on Boost.Config that allows to use it conditionally, unfortunatelly I have not found any.
Because, no one has asked for it yet :-) Do you have a patch?
What will be the right way to do that? Any chance <boost/limmits.hpp> manage with that?
No, boost/limits.hpp just provides a replacement when the std version isn't available, and we can't extend numeric_limits ourselves, so yes a config macro would be the way to go. John.