Commit 984f7ba6 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot 7

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
parent 8e13f6e0
...@@ -631,7 +631,7 @@ template Expected<unsigned int, ConversionCode> digits_to<unsigned int>( ...@@ -631,7 +631,7 @@ template Expected<unsigned int, ConversionCode> digits_to<unsigned int>(
template Expected<long, ConversionCode> digits_to<long>( template Expected<long, ConversionCode> digits_to<long>(
const char*, const char*,
const char*); const char*) noexcept;
template Expected<unsigned long, ConversionCode> digits_to<unsigned long>( template Expected<unsigned long, ConversionCode> digits_to<unsigned long>(
const char*, const char*,
const char*) noexcept; const char*) noexcept;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment