00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 #include <string>
00036 #include <istream>
00037 #include <ostream>
00038 #include <algorithm>
00039 #include <vector>
00040 #include <bits/atomicity.h>
00041
00042 namespace std
00043 {
00044
00045 template
00046 basic_istream<char>&
00047 operator>>(basic_istream<char>&, string&);
00048 template
00049 basic_ostream<char>&
00050 operator<<(basic_ostream<char>&, const string&);
00051 template
00052 basic_istream<char>&
00053 getline(basic_istream<char>&, string&, char);
00054 template
00055 basic_istream<char>&
00056 getline(basic_istream<char>&, string&);
00057 #ifdef _GLIBCPP_USE_WCHAR_T
00058 template
00059 basic_istream<wchar_t>&
00060 operator>>(basic_istream<wchar_t>&, wstring&);
00061 template
00062 basic_ostream<wchar_t>&
00063 operator<<(basic_ostream<wchar_t>&, const wstring&);
00064 template
00065 basic_istream<wchar_t>&
00066 getline(basic_istream<wchar_t>&, wstring&, wchar_t);
00067 template
00068 basic_istream<wchar_t>&
00069 getline(basic_istream<wchar_t>&, wstring&);
00070 #endif
00071 #ifdef _GLIBCPP_INST_ATOMICITY_LOCK
00072 template volatile int __Atomicity_lock<0>::_S_atomicity_lock;
00073 #endif
00074
00075 #if 1
00076
00077
00078 template
00079 string*
00080 __uninitialized_fill_n_aux<string*, size_t, string>
00081 (string*, size_t, string const &, __false_type);
00082
00083 template
00084 string*
00085 __uninitialized_copy_aux<vector<string>::const_iterator, string *>
00086 (vector<string>::const_iterator, vector<string>::const_iterator,
00087 string*, __false_type);
00088 #endif
00089 }
00090
00091 #ifdef _GLIBCPP_NEED_GENERIC_MUTEX
00092 namespace __gnu_cxx
00093 {
00094 #ifdef __GTHREAD_MUTEX_INIT
00095 __gthread_mutex_t _Atomic_add_mutex = __GTHREAD_MUTEX_INIT;
00096 #else
00097
00098 __gthread_mutex_t _Atomic_add_mutex;
00099 __gthread_once_t _Atomic_add_mutex_once = __GTHREAD_ONCE_INIT;
00100 void __gthread_atomic_add_mutex_once()
00101 {
00102 __GTHREAD_MUTEX_INIT_FUNCTION (&_Atomic_add_mutex);
00103 }
00104 #endif
00105 }
00106 #endif // _GLIBCPP_NEED_GLOBAL_MUTEX
00107