From: Christopher Dykes Date: Fri, 19 Aug 2016 20:51:26 +0000 (-0700) Subject: Mark the long overload of digits_to as noexcept X-Git-Tag: v2016.08.22.00~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=984f7ba613583efca995c55c363e8e226727b9b6;p=folly.git Mark the long overload of digits_to as noexcept Summary: Well, the explicit instantion for it anyways. The extern template declaration for it declares it as `noexcept`, so MSVC generates an error because the explicit instantiation is not also marked as `noexcept` Reviewed By: yfeldblum, ericniebler Differential Revision: D3744090 fbshipit-source-id: 4e756b2761c23a436097a6131b9b2ecd59faf4f9 --- diff --git a/folly/Conv.cpp b/folly/Conv.cpp index 0ab6dcf5..1e6da78a 100644 --- a/folly/Conv.cpp +++ b/folly/Conv.cpp @@ -631,7 +631,7 @@ template Expected digits_to( template Expected digits_to( const char*, - const char*); + const char*) noexcept; template Expected digits_to( const char*, const char*) noexcept;