title: C++11 numeric_limits<>::max() at compile time
body: <p>When I was trying to get something to compile on MSVC, I found out (sigh) that the version used in Visual Studio Express 2013 doesn't support <code>constexpr</code> functions yet. Therefore, I couldn't pass the result of <code>std::numeric_limits&lt;size_t&gt;::max()</code> to a template. I can hack around this by just casting -1 to <code>size_t</code>, but I don't think this would strictly be portable, as (correct me if I'm wrong) the two's complement way of defining negatives isn't standardized (yet).</p>
  
  <p>What is the recommended approach on doing this?</p>