@@ -2568,11 +2568,11 @@ template <> struct simd8<bool> : base8<bool> {
25682568 return _mm256_set1_epi8 (uint8_t (-(!!_value)));
25692569 }
25702570
2571- is_utf8_really_inline simd8< bool > () : base8() {}
2572- is_utf8_really_inline simd8< bool > (const __m256i _value)
2571+ is_utf8_really_inline simd8 () : base8() {}
2572+ is_utf8_really_inline simd8 (const __m256i _value)
25732573 : base8<bool>(_value) {}
25742574 // Splat constructor
2575- is_utf8_really_inline simd8< bool > (bool _value) : base8<bool >(splat(_value)) {}
2575+ is_utf8_really_inline simd8 (bool _value) : base8<bool>(splat(_value)) {}
25762576
25772577 is_utf8_really_inline uint32_t to_bitmask () const {
25782578 return uint32_t (_mm256_movemask_epi8 (*this ));
@@ -2998,11 +2998,11 @@ template <> struct simd16<bool> : base16<bool> {
29982998 return _mm256_set1_epi16 (uint16_t (-(!!_value)));
29992999 }
30003000
3001- is_utf8_really_inline simd16< bool > () : base16() {}
3002- is_utf8_really_inline simd16< bool > (const __m256i _value)
3001+ is_utf8_really_inline simd16 () : base16() {}
3002+ is_utf8_really_inline simd16 (const __m256i _value)
30033003 : base16<bool>(_value) {}
30043004 // Splat constructor
3005- is_utf8_really_inline simd16< bool > (bool _value)
3005+ is_utf8_really_inline simd16 (bool _value)
30063006 : base16<bool>(splat(_value)) {}
30073007
30083008 is_utf8_really_inline bitmask_type to_bitmask () const {
@@ -3549,11 +3549,11 @@ template <> struct simd8<bool> : base8<bool> {
35493549 return _mm_set1_epi8 (uint8_t (-(!!_value)));
35503550 }
35513551
3552- is_utf8_really_inline simd8< bool > () : base8() {}
3553- is_utf8_really_inline simd8< bool > (const __m128i _value)
3552+ is_utf8_really_inline simd8 () : base8() {}
3553+ is_utf8_really_inline simd8 (const __m128i _value)
35543554 : base8<bool>(_value) {}
35553555 // Splat constructor
3556- is_utf8_really_inline simd8< bool > (bool _value) : base8<bool >(splat(_value)) {}
3556+ is_utf8_really_inline simd8 (bool _value) : base8<bool>(splat(_value)) {}
35573557
35583558 is_utf8_really_inline int to_bitmask () const {
35593559 return _mm_movemask_epi8 (*this );
@@ -4065,11 +4065,11 @@ template <> struct simd16<bool> : base16<bool> {
40654065 return _mm_set1_epi16 (uint16_t (-(!!_value)));
40664066 }
40674067
4068- is_utf8_really_inline simd16< bool > () : base16() {}
4069- is_utf8_really_inline simd16< bool > (const __m128i _value)
4068+ is_utf8_really_inline simd16 () : base16() {}
4069+ is_utf8_really_inline simd16 (const __m128i _value)
40704070 : base16<bool>(_value) {}
40714071 // Splat constructor
4072- is_utf8_really_inline simd16< bool > (bool _value)
4072+ is_utf8_really_inline simd16 (bool _value)
40734073 : base16<bool>(splat(_value)) {}
40744074
40754075 is_utf8_really_inline int to_bitmask () const {
@@ -6748,6 +6748,8 @@ IS_UTF8_UNTARGET_REGION
67486748
67496749IS_UTF8_POP_DISABLE_WARNINGS
67506750
6751- bool is_utf8 (const char *src, size_t len) {
6752- return is_utf8_internals::validate_utf8 (src, len);
6751+ extern " C" {
6752+ bool is_utf8 (const char *src, size_t len) {
6753+ return is_utf8_internals::validate_utf8 (src, len);
6754+ }
67536755}
0 commit comments