
24 Apr
2014
24 Apr
'14
12:42 a.m.
On Apr 23, 2014, at 4:48 PM, Chris Cooper <chris.cooper@veranmedical.com> wrote:
After the builds finally chugged through the build server, I see that std::numeric_limits<Number>::min() and std::numeric_limits<Number>::max() are not constant expressions with clang++ unless c++11 is enabled, so my second idea won’t quite work.
Try boost::integer_traits<Number>::const_min / const_max. Defined in boost/integer_traits.hpp.