File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -738,9 +738,8 @@ template <typename UC> static constexpr uint64_t int_cmp_zeros() {
738
738
template <typename UC> static constexpr int int_cmp_len () {
739
739
return sizeof (uint64_t ) / sizeof (UC);
740
740
}
741
- template <typename UC> static constexpr UC const *str_const_nan () {
742
- return nullptr ;
743
- }
741
+
742
+ template <typename UC> constexpr UC const *str_const_nan ();
744
743
template <> constexpr char const *str_const_nan<char >() { return " nan" ; }
745
744
template <> constexpr wchar_t const *str_const_nan<wchar_t >() { return L" nan" ; }
746
745
template <> constexpr char16_t const *str_const_nan<char16_t >() {
@@ -749,9 +748,8 @@ template <> constexpr char16_t const *str_const_nan<char16_t>() {
749
748
template <> constexpr char32_t const *str_const_nan<char32_t >() {
750
749
return U" nan" ;
751
750
}
752
- template <typename UC> static constexpr UC const *str_const_inf () {
753
- return nullptr ;
754
- }
751
+
752
+ template <typename UC> constexpr UC const *str_const_inf ();
755
753
template <> constexpr char const *str_const_inf<char >() { return " infinity" ; }
756
754
template <> constexpr wchar_t const *str_const_inf<wchar_t >() {
757
755
return L" infinity" ;
You can’t perform that action at this time.
0 commit comments