X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Finclude%2Fstd%2Fostream;h=895e4d7ab4e025b6337a3aea22425a8df703fd8a;hb=24cc0de967b57f7d1d911921e4cd5332b039380a;hp=771c28db7b73262cdee8e9f014deff8ef814d56f;hpb=cd502796cfd03b91dcc1bfeae2d9137d38ff3951;p=gcc.git diff --git a/libstdc++-v3/include/std/ostream b/libstdc++-v3/include/std/ostream index 771c28db7b7..895e4d7ab4e 100644 --- a/libstdc++-v3/include/std/ostream +++ b/libstdc++-v3/include/std/ostream @@ -512,18 +512,18 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { return (__out << __out.widen(__c)); } // Specialization - template + template inline basic_ostream& operator<<(basic_ostream& __out, char __c) { return __ostream_insert(__out, &__c, 1); } // Signed and unsigned - template + template inline basic_ostream& operator<<(basic_ostream& __out, signed char __c) { return (__out << static_cast(__c)); } - template + template inline basic_ostream& operator<<(basic_ostream& __out, unsigned char __c) { return (__out << static_cast(__c)); } @@ -533,37 +533,37 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // numeric values. #ifdef _GLIBCXX_USE_WCHAR_T - template + template basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; #endif // _GLIBCXX_USE_WCHAR_T #ifdef _GLIBCXX_USE_CHAR8_T - template + template basic_ostream& operator<<(basic_ostream&, char8_t) = delete; #endif - template + template basic_ostream& operator<<(basic_ostream&, char16_t) = delete; - template + template basic_ostream& operator<<(basic_ostream&, char32_t) = delete; #ifdef _GLIBCXX_USE_WCHAR_T #ifdef _GLIBCXX_USE_CHAR8_T - template + template basic_ostream& operator<<(basic_ostream&, char8_t) = delete; #endif // _GLIBCXX_USE_CHAR8_T - template + template basic_ostream& operator<<(basic_ostream&, char16_t) = delete; - template + template basic_ostream& operator<<(basic_ostream&, char32_t) = delete; #endif // _GLIBCXX_USE_WCHAR_T @@ -601,7 +601,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s); // Partial specializations - template + template inline basic_ostream& operator<<(basic_ostream& __out, const char* __s) { @@ -614,12 +614,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION } // Signed and unsigned - template + template inline basic_ostream& operator<<(basic_ostream& __out, const signed char* __s) { return (__out << reinterpret_cast(__s)); } - template + template inline basic_ostream & operator<<(basic_ostream& __out, const unsigned char* __s) { return (__out << reinterpret_cast(__s)); } @@ -629,37 +629,37 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // pointer values. #ifdef _GLIBCXX_USE_WCHAR_T - template + template basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; #endif // _GLIBCXX_USE_WCHAR_T #ifdef _GLIBCXX_USE_CHAR8_T - template + template basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; #endif // _GLIBCXX_USE_CHAR8_T - template + template basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; - template + template basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; #ifdef _GLIBCXX_USE_WCHAR_T #ifdef _GLIBCXX_USE_CHAR8_T - template + template basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; #endif - template + template basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; - template + template basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; #endif // _GLIBCXX_USE_WCHAR_T