VS, Code::Blocks, Eclipse, and Netbeans do all of that. Sublime Text 2 cannot (unless you hardcode what you want, which means you have to do it per project, which is a waste).
@KonradRudolph C++03 18.2.1/3 For all members declared static const in the numeric_limits template, specializations shall define these values in such a way that they are usable as integral constant expressions.
@rubenvb How does that help me in this case? The problem is that two identical versions of GCC (assuming Coliru uses GCC 4.7.2) produce different behaviour
More interesting still, remove the N template argument and substitute it by a integral constant in the digits initialisation, then you’ll get a compile error