Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

460 lines
33 KiB

  1. // instances -- force DLL instances for Microsoft
  2. #define __FORCE_INSTANCE
  3. #include <complex>
  4. #include <fstream>
  5. #include <ios>
  6. #include <istream>
  7. #include <limits>
  8. #include <locale>
  9. #include <ostream>
  10. #include <sstream>
  11. #include <streambuf>
  12. #include <xlocale>
  13. #include <xlocmes>
  14. #include <xlocmon>
  15. #include <xlocnum>
  16. #include <xloctime>
  17. #include <xstring>
  18. _STD_BEGIN
  19. template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl operator>>(
  20. basic_istream<char, char_traits<char> >&, char *);
  21. template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl operator>>(
  22. basic_istream<char, char_traits<char> >&, char&);
  23. template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl operator>>(
  24. basic_istream<char, char_traits<char> >&, signed char *);
  25. template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl operator>>(
  26. basic_istream<char, char_traits<char> >&, signed char&);
  27. template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl operator>>(
  28. basic_istream<char, char_traits<char> >&, unsigned char *);
  29. template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl operator>>(
  30. basic_istream<char, char_traits<char> >&, unsigned char&);
  31. template _CRTIMP2 basic_istream<wchar_t, char_traits<wchar_t> >& __cdecl operator>>(
  32. basic_istream<wchar_t, char_traits<wchar_t> >&, wchar_t *);
  33. template _CRTIMP2 basic_istream<wchar_t, char_traits<wchar_t> >& __cdecl operator>>(
  34. basic_istream<wchar_t, char_traits<wchar_t> >&, wchar_t&);
  35. #ifdef _NATIVE_WCHAR_T_DEFINED
  36. template _CRTIMP2 basic_istream<unsigned short, char_traits<unsigned short> >& __cdecl operator>>(
  37. basic_istream<unsigned short, char_traits<unsigned short> >&, unsigned short *);
  38. template _CRTIMP2 basic_istream<unsigned short, char_traits<unsigned short> >& __cdecl operator>>(
  39. basic_istream<unsigned short, char_traits<unsigned short> >&, unsigned short&);
  40. #endif
  41. template _CRTIMP2 basic_ostream<char, char_traits<char> >& __cdecl operator<<(
  42. basic_ostream<char, char_traits<char> >&, const char *);
  43. template _CRTIMP2 basic_ostream<char, char_traits<char> >& __cdecl operator<<(
  44. basic_ostream<char, char_traits<char> >&, char);
  45. template _CRTIMP2 basic_ostream<char, char_traits<char> >& __cdecl operator<<(
  46. basic_ostream<char, char_traits<char> >&, const signed char *);
  47. template _CRTIMP2 basic_ostream<char, char_traits<char> >& __cdecl operator<<(
  48. basic_ostream<char, char_traits<char> >&, signed char);
  49. template _CRTIMP2 basic_ostream<char, char_traits<char> >& __cdecl operator<<(
  50. basic_ostream<char, char_traits<char> >&, const unsigned char *);
  51. template _CRTIMP2 basic_ostream<char, char_traits<char> >& __cdecl operator<<(
  52. basic_ostream<char, char_traits<char> >&, unsigned char);
  53. template _CRTIMP2 basic_ostream<wchar_t, char_traits<wchar_t> >& __cdecl operator<<(
  54. basic_ostream<wchar_t, char_traits<wchar_t> >&, const wchar_t *);
  55. template _CRTIMP2 basic_ostream<wchar_t, char_traits<wchar_t> >& __cdecl operator<<(
  56. basic_ostream<wchar_t, char_traits<wchar_t> >&, wchar_t);
  57. #ifdef _NATIVE_WCHAR_T_DEFINED
  58. template _CRTIMP2 basic_ostream<unsigned short, char_traits<unsigned short> >& __cdecl operator<<(
  59. basic_ostream<unsigned short, char_traits<unsigned short> >&, const unsigned short *);
  60. template _CRTIMP2 basic_ostream<unsigned short, char_traits<unsigned short> >& __cdecl operator<<(
  61. basic_ostream<unsigned short, char_traits<unsigned short> >&, unsigned short);
  62. #endif
  63. template _CRTIMP2 basic_string<char, char_traits<char>, allocator<char> > __cdecl operator+(
  64. const basic_string<char, char_traits<char>, allocator<char> >&,
  65. const basic_string<char, char_traits<char>, allocator<char> >&);
  66. template _CRTIMP2 basic_string<char, char_traits<char>, allocator<char> > __cdecl operator+(
  67. const char *, const basic_string<char, char_traits<char>, allocator<char> >&);
  68. template _CRTIMP2 basic_string<char, char_traits<char>, allocator<char> > __cdecl operator+(
  69. const char, const basic_string<char, char_traits<char>, allocator<char> >&);
  70. template _CRTIMP2 basic_string<char, char_traits<char>, allocator<char> > __cdecl operator+(
  71. const basic_string<char, char_traits<char>, allocator<char> >&, const char *);
  72. template _CRTIMP2 basic_string<char, char_traits<char>, allocator<char> > __cdecl operator+(
  73. const basic_string<char, char_traits<char>, allocator<char> >&, const char);
  74. template _CRTIMP2 bool __cdecl operator==(
  75. const basic_string<char, char_traits<char>, allocator<char> >&,
  76. const basic_string<char, char_traits<char>, allocator<char> >&);
  77. template _CRTIMP2 bool __cdecl operator==(
  78. const char *, const basic_string<char, char_traits<char>, allocator<char> >&);
  79. template _CRTIMP2 bool __cdecl operator==(
  80. const basic_string<char, char_traits<char>, allocator<char> >&, const char *);
  81. template _CRTIMP2 bool __cdecl operator!=(
  82. const basic_string<char, char_traits<char>, allocator<char> >&,
  83. const basic_string<char, char_traits<char>, allocator<char> >&);
  84. template _CRTIMP2 bool __cdecl operator!=(
  85. const char *, const basic_string<char, char_traits<char>, allocator<char> >&);
  86. template _CRTIMP2 bool __cdecl operator!=(
  87. const basic_string<char, char_traits<char>, allocator<char> >&, const char *);
  88. template _CRTIMP2 bool __cdecl operator<(
  89. const basic_string<char, char_traits<char>, allocator<char> >&,
  90. const basic_string<char, char_traits<char>, allocator<char> >&);
  91. template _CRTIMP2 bool __cdecl operator<(
  92. const char *, const basic_string<char, char_traits<char>, allocator<char> >&);
  93. template _CRTIMP2 bool __cdecl operator<(
  94. const basic_string<char, char_traits<char>, allocator<char> >&, const char *);
  95. template _CRTIMP2 bool __cdecl operator>(
  96. const basic_string<char, char_traits<char>, allocator<char> >&,
  97. const basic_string<char, char_traits<char>, allocator<char> >&);
  98. template _CRTIMP2 bool __cdecl operator>(
  99. const char *, const basic_string<char, char_traits<char>, allocator<char> >&);
  100. template _CRTIMP2 bool __cdecl operator>(
  101. const basic_string<char, char_traits<char>, allocator<char> >&, const char *);
  102. template _CRTIMP2 bool __cdecl operator<=(
  103. const basic_string<char, char_traits<char>, allocator<char> >&,
  104. const basic_string<char, char_traits<char>, allocator<char> >&);
  105. template _CRTIMP2 bool __cdecl operator<=(
  106. const char *, const basic_string<char, char_traits<char>, allocator<char> >&);
  107. template _CRTIMP2 bool __cdecl operator<=(
  108. const basic_string<char, char_traits<char>, allocator<char> >&, const char *);
  109. template _CRTIMP2 bool __cdecl operator>=(
  110. const basic_string<char, char_traits<char>, allocator<char> >&,
  111. const basic_string<char, char_traits<char>, allocator<char> >&);
  112. template _CRTIMP2 bool __cdecl operator>=(
  113. const char *, const basic_string<char, char_traits<char>, allocator<char> >&);
  114. template _CRTIMP2 bool __cdecl operator>=(
  115. const basic_string<char, char_traits<char>, allocator<char> >&, const char *);
  116. template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl operator>>(
  117. basic_istream<char, char_traits<char> >&,
  118. basic_string<char, char_traits<char>, allocator<char> >&);
  119. template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl getline(
  120. basic_istream<char, char_traits<char> >&,
  121. basic_string<char, char_traits<char>, allocator<char> >&);
  122. template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl getline(
  123. basic_istream<char, char_traits<char> >&,
  124. basic_string<char, char_traits<char>, allocator<char> >&, const char);
  125. template _CRTIMP2 basic_ostream<char, char_traits<char> >& __cdecl operator<<(
  126. basic_ostream<char, char_traits<char> >&,
  127. const basic_string<char, char_traits<char>, allocator<char> >&);
  128. template _CRTIMP2 basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > __cdecl operator+(
  129. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&,
  130. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  131. template _CRTIMP2 basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > __cdecl operator+(
  132. const wchar_t *, const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  133. template _CRTIMP2 basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > __cdecl operator+(
  134. const wchar_t, const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  135. template _CRTIMP2 basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > __cdecl operator+(
  136. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&, const wchar_t *);
  137. template _CRTIMP2 basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > __cdecl operator+(
  138. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&, const wchar_t);
  139. template _CRTIMP2 bool __cdecl operator==(
  140. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&,
  141. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  142. template _CRTIMP2 bool __cdecl operator==(
  143. const wchar_t *, const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  144. template _CRTIMP2 bool __cdecl operator==(
  145. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&, const wchar_t *);
  146. template _CRTIMP2 bool __cdecl operator!=(
  147. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&,
  148. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  149. template _CRTIMP2 bool __cdecl operator!=(
  150. const wchar_t *, const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  151. template _CRTIMP2 bool __cdecl operator!=(
  152. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&, const wchar_t *);
  153. template _CRTIMP2 bool __cdecl operator<(
  154. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&,
  155. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  156. template _CRTIMP2 bool __cdecl operator<(
  157. const wchar_t *, const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  158. template _CRTIMP2 bool __cdecl operator<(
  159. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&, const wchar_t *);
  160. template _CRTIMP2 bool __cdecl operator>(
  161. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&,
  162. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  163. template _CRTIMP2 bool __cdecl operator>(
  164. const wchar_t *, const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  165. template _CRTIMP2 bool __cdecl operator>(
  166. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&, const wchar_t *);
  167. template _CRTIMP2 bool __cdecl operator<=(
  168. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&,
  169. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  170. template _CRTIMP2 bool __cdecl operator<=(
  171. const wchar_t *, const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  172. template _CRTIMP2 bool __cdecl operator<=(
  173. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&, const wchar_t *);
  174. template _CRTIMP2 bool __cdecl operator>=(
  175. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&,
  176. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  177. template _CRTIMP2 bool __cdecl operator>=(
  178. const wchar_t *, const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  179. template _CRTIMP2 bool __cdecl operator>=(
  180. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&, const wchar_t *);
  181. template _CRTIMP2 basic_istream<wchar_t, char_traits<wchar_t> >& __cdecl operator>>(
  182. basic_istream<wchar_t, char_traits<wchar_t> >&,
  183. basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  184. template _CRTIMP2 basic_istream<wchar_t, char_traits<wchar_t> >& __cdecl getline(
  185. basic_istream<wchar_t, char_traits<wchar_t> >&,
  186. basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  187. template _CRTIMP2 basic_istream<wchar_t, char_traits<wchar_t> >& __cdecl getline(
  188. basic_istream<wchar_t, char_traits<wchar_t> >&,
  189. basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&, const wchar_t);
  190. template _CRTIMP2 basic_ostream<wchar_t, char_traits<wchar_t> >& __cdecl operator<<(
  191. basic_ostream<wchar_t, char_traits<wchar_t> >&,
  192. const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >&);
  193. #ifdef _NATIVE_WCHAR_T_DEFINED
  194. template _CRTIMP2 basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> > __cdecl operator+(
  195. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&,
  196. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  197. template _CRTIMP2 basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> > __cdecl operator+(
  198. const unsigned short *, const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  199. template _CRTIMP2 basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> > __cdecl operator+(
  200. const unsigned short, const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  201. template _CRTIMP2 basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> > __cdecl operator+(
  202. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, const unsigned short *);
  203. template _CRTIMP2 basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> > __cdecl operator+(
  204. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, const unsigned short);
  205. template _CRTIMP2 bool __cdecl operator==(
  206. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&,
  207. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  208. template _CRTIMP2 bool __cdecl operator==(
  209. const unsigned short *, const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  210. template _CRTIMP2 bool __cdecl operator==(
  211. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, const unsigned short *);
  212. template _CRTIMP2 bool __cdecl operator!=(
  213. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&,
  214. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  215. template _CRTIMP2 bool __cdecl operator!=(
  216. const unsigned short *, const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  217. template _CRTIMP2 bool __cdecl operator!=(
  218. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, const unsigned short *);
  219. template _CRTIMP2 bool __cdecl operator<(
  220. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&,
  221. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  222. template _CRTIMP2 bool __cdecl operator<(
  223. const unsigned short *, const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  224. template _CRTIMP2 bool __cdecl operator<(
  225. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, const unsigned short *);
  226. template _CRTIMP2 bool __cdecl operator>(
  227. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&,
  228. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  229. template _CRTIMP2 bool __cdecl operator>(
  230. const unsigned short *, const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  231. template _CRTIMP2 bool __cdecl operator>(
  232. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, const unsigned short *);
  233. template _CRTIMP2 bool __cdecl operator<=(
  234. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&,
  235. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  236. template _CRTIMP2 bool __cdecl operator<=(
  237. const unsigned short *, const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  238. template _CRTIMP2 bool __cdecl operator<=(
  239. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, const unsigned short *);
  240. template _CRTIMP2 bool __cdecl operator>=(
  241. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&,
  242. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  243. template _CRTIMP2 bool __cdecl operator>=(
  244. const unsigned short *, const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  245. template _CRTIMP2 bool __cdecl operator>=(
  246. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, const unsigned short *);
  247. template _CRTIMP2 basic_istream<unsigned short, char_traits<unsigned short> >& __cdecl operator>>(
  248. basic_istream<unsigned short, char_traits<unsigned short> >&,
  249. basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  250. template _CRTIMP2 basic_istream<unsigned short, char_traits<unsigned short> >& __cdecl getline(
  251. basic_istream<unsigned short, char_traits<unsigned short> >&,
  252. basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  253. template _CRTIMP2 basic_istream<unsigned short, char_traits<unsigned short> >& __cdecl getline(
  254. basic_istream<unsigned short, char_traits<unsigned short> >&,
  255. basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, const unsigned short);
  256. template _CRTIMP2 basic_ostream<unsigned short, char_traits<unsigned short> >& __cdecl operator<<(
  257. basic_ostream<unsigned short, char_traits<unsigned short> >&,
  258. const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
  259. #endif
  260. template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl operator>>(
  261. basic_istream<char, char_traits<char> >&, complex<float>&);
  262. template _CRTIMP2 basic_ostream<char, char_traits<char> >& __cdecl operator<<(
  263. basic_ostream<char, char_traits<char> >&, const complex<float>&);
  264. template _CRTIMP2 basic_istream<wchar_t, char_traits<wchar_t> >& __cdecl operator>>(
  265. basic_istream<wchar_t, char_traits<wchar_t> >&, complex<float>&);
  266. template _CRTIMP2 basic_ostream<wchar_t, char_traits<wchar_t> >& __cdecl operator<<(
  267. basic_ostream<wchar_t, char_traits<wchar_t> >&, const complex<float>&);
  268. #ifdef _NATIVE_WCHAR_T_DEFINED
  269. template _CRTIMP2 basic_istream<unsigned short, char_traits<unsigned short> >& __cdecl operator>>(
  270. basic_istream<unsigned short, char_traits<unsigned short> >&, complex<float>&);
  271. template _CRTIMP2 basic_ostream<unsigned short, char_traits<unsigned short> >& __cdecl operator<<(
  272. basic_ostream<unsigned short, char_traits<unsigned short> >&, const complex<float>&);
  273. #endif
  274. template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl operator>>(
  275. basic_istream<char, char_traits<char> >&, complex<double>&);
  276. template _CRTIMP2 basic_ostream<char, char_traits<char> >& __cdecl operator<<(
  277. basic_ostream<char, char_traits<char> >&, const complex<double>&);
  278. template _CRTIMP2 basic_istream<wchar_t, char_traits<wchar_t> >& __cdecl operator>>(
  279. basic_istream<wchar_t, char_traits<wchar_t> >&, complex<double>&);
  280. template _CRTIMP2 basic_ostream<wchar_t, char_traits<wchar_t> >& __cdecl operator<<(
  281. basic_ostream<wchar_t, char_traits<wchar_t> >&, const complex<double>&);
  282. #ifdef _NATIVE_WCHAR_T_DEFINED
  283. template _CRTIMP2 basic_istream<unsigned short, char_traits<unsigned short> >& __cdecl operator>>(
  284. basic_istream<unsigned short, char_traits<unsigned short> >&, complex<double>&);
  285. template _CRTIMP2 basic_ostream<unsigned short, char_traits<unsigned short> >& __cdecl operator<<(
  286. basic_ostream<unsigned short, char_traits<unsigned short> >&, const complex<double>&);
  287. #endif
  288. template _CRTIMP2 basic_istream<char, char_traits<char> >& __cdecl operator>>(
  289. basic_istream<char, char_traits<char> >&, complex<long double>&);
  290. template _CRTIMP2 basic_ostream<char, char_traits<char> >& __cdecl operator<<(
  291. basic_ostream<char, char_traits<char> >&, const complex<long double>&);
  292. template _CRTIMP2 basic_istream<wchar_t, char_traits<wchar_t> >& __cdecl operator>>(
  293. basic_istream<wchar_t, char_traits<wchar_t> >&, complex<long double>&);
  294. template _CRTIMP2 basic_ostream<wchar_t, char_traits<wchar_t> >& __cdecl operator<<(
  295. basic_ostream<wchar_t, char_traits<wchar_t> >&, const complex<long double>&);
  296. #ifdef _NATIVE_WCHAR_T_DEFINED
  297. template _CRTIMP2 basic_istream<unsigned short, char_traits<unsigned short> >& __cdecl operator>>(
  298. basic_istream<unsigned short, char_traits<unsigned short> >&, complex<long double>&);
  299. template _CRTIMP2 basic_ostream<unsigned short, char_traits<unsigned short> >& __cdecl operator<<(
  300. basic_ostream<unsigned short, char_traits<unsigned short> >&, const complex<long double>&);
  301. #endif
  302. template _CRTIMP2 float __cdecl imag(const complex<float>&);
  303. template _CRTIMP2 float __cdecl real(const complex<float>&);
  304. template _CRTIMP2 float __cdecl _Fabs(const complex<float>&, int *);
  305. template _CRTIMP2 complex<float> __cdecl operator+(const complex<float>&, const complex<float>&);
  306. template _CRTIMP2 complex<float> __cdecl operator+(const complex<float>&, const float&);
  307. template _CRTIMP2 complex<float> __cdecl operator+(const float&, const complex<float>&);
  308. template _CRTIMP2 complex<float> __cdecl operator-(const complex<float>&, const complex<float>&);
  309. template _CRTIMP2 complex<float> __cdecl operator-(const complex<float>&, const float&);
  310. template _CRTIMP2 complex<float> __cdecl operator-(const float&, const complex<float>&);
  311. template _CRTIMP2 complex<float> __cdecl operator*(const complex<float>&, const complex<float>&);
  312. template _CRTIMP2 complex<float> __cdecl operator*(const complex<float>&, const float&);
  313. template _CRTIMP2 complex<float> __cdecl operator*(const float&, const complex<float>&);
  314. template _CRTIMP2 complex<float> __cdecl operator/(const complex<float>&, const complex<float>&);
  315. template _CRTIMP2 complex<float> __cdecl operator/(const complex<float>&, const float&);
  316. template _CRTIMP2 complex<float> __cdecl operator/(const float&, const complex<float>&);
  317. template _CRTIMP2 complex<float> __cdecl operator+(const complex<float>&);
  318. template _CRTIMP2 complex<float> __cdecl operator-(const complex<float>&);
  319. template _CRTIMP2 bool __cdecl operator==(const complex<float>&, const complex<float>&);
  320. template _CRTIMP2 bool __cdecl operator==(const complex<float>&, const float&);
  321. template _CRTIMP2 bool __cdecl operator==(const float&, const complex<float>&);
  322. template _CRTIMP2 bool __cdecl operator!=(const complex<float>&, const complex<float>&);
  323. template _CRTIMP2 bool __cdecl operator!=(const complex<float>&, const float&);
  324. template _CRTIMP2 bool __cdecl operator!=(const float&, const complex<float>&);
  325. template _CRTIMP2 float __cdecl abs(const complex<float>&);
  326. template _CRTIMP2 float __cdecl arg(const complex<float>&);
  327. template _CRTIMP2 complex<float> __cdecl conj(const complex<float>&);
  328. template _CRTIMP2 complex<float> __cdecl cos(const complex<float>&);
  329. template _CRTIMP2 complex<float> __cdecl cosh(const complex<float>&);
  330. template _CRTIMP2 complex<float> __cdecl exp(const complex<float>&);
  331. template _CRTIMP2 complex<float> __cdecl log(const complex<float>&);
  332. template _CRTIMP2 complex<float> __cdecl log10(const complex<float>&);
  333. template _CRTIMP2 float __cdecl norm(const complex<float>&);
  334. template _CRTIMP2 complex<float> __cdecl polar(const float&, const float&);
  335. template _CRTIMP2 complex<float> __cdecl polar(const float&);
  336. template _CRTIMP2 complex<float> __cdecl pow(const complex<float>&, const complex<float>&);
  337. template _CRTIMP2 complex<float> __cdecl pow(const complex<float>&, const float&);
  338. template _CRTIMP2 complex<float> __cdecl pow(const complex<float>&, int);
  339. template _CRTIMP2 complex<float> __cdecl pow(const float&, const complex<float>&);
  340. template _CRTIMP2 complex<float> __cdecl sin(const complex<float>&);
  341. template _CRTIMP2 complex<float> __cdecl sinh(const complex<float>&);
  342. template _CRTIMP2 complex<float> __cdecl sqrt(const complex<float>&);
  343. template _CRTIMP2 complex<float> __cdecl tanh(const complex<float>&);
  344. template _CRTIMP2 complex<float> __cdecl tan(const complex<float>&);
  345. template _CRTIMP2 double __cdecl imag(const complex<double>&);
  346. template _CRTIMP2 double __cdecl real(const complex<double>&);
  347. template _CRTIMP2 double __cdecl _Fabs(const complex<double>&, int *);
  348. template _CRTIMP2 complex<double> __cdecl operator+(const complex<double>&, const complex<double>&);
  349. template _CRTIMP2 complex<double> __cdecl operator+(const complex<double>&, const double&);
  350. template _CRTIMP2 complex<double> __cdecl operator+(const double&, const complex<double>&);
  351. template _CRTIMP2 complex<double> __cdecl operator-(const complex<double>&, const complex<double>&);
  352. template _CRTIMP2 complex<double> __cdecl operator-(const complex<double>&, const double&);
  353. template _CRTIMP2 complex<double> __cdecl operator-(const double&, const complex<double>&);
  354. template _CRTIMP2 complex<double> __cdecl operator*(const complex<double>&, const complex<double>&);
  355. template _CRTIMP2 complex<double> __cdecl operator*(const complex<double>&, const double&);
  356. template _CRTIMP2 complex<double> __cdecl operator*(const double&, const complex<double>&);
  357. template _CRTIMP2 complex<double> __cdecl operator/(const complex<double>&, const complex<double>&);
  358. template _CRTIMP2 complex<double> __cdecl operator/(const complex<double>&, const double&);
  359. template _CRTIMP2 complex<double> __cdecl operator/(const double&, const complex<double>&);
  360. template _CRTIMP2 complex<double> __cdecl operator+(const complex<double>&);
  361. template _CRTIMP2 complex<double> __cdecl operator-(const complex<double>&);
  362. template _CRTIMP2 bool __cdecl operator==(const complex<double>&, const complex<double>&);
  363. template _CRTIMP2 bool __cdecl operator==(const complex<double>&, const double&);
  364. template _CRTIMP2 bool __cdecl operator==(const double&, const complex<double>&);
  365. template _CRTIMP2 bool __cdecl operator!=(const complex<double>&, const complex<double>&);
  366. template _CRTIMP2 bool __cdecl operator!=(const complex<double>&, const double&);
  367. template _CRTIMP2 bool __cdecl operator!=(const double&, const complex<double>&);
  368. template _CRTIMP2 double __cdecl abs(const complex<double>&);
  369. template _CRTIMP2 double __cdecl arg(const complex<double>&);
  370. template _CRTIMP2 complex<double> __cdecl conj(const complex<double>&);
  371. template _CRTIMP2 complex<double> __cdecl cos(const complex<double>&);
  372. template _CRTIMP2 complex<double> __cdecl cosh(const complex<double>&);
  373. template _CRTIMP2 complex<double> __cdecl exp(const complex<double>&);
  374. template _CRTIMP2 complex<double> __cdecl log(const complex<double>&);
  375. template _CRTIMP2 complex<double> __cdecl log10(const complex<double>&);
  376. template _CRTIMP2 double __cdecl norm(const complex<double>&);
  377. template _CRTIMP2 complex<double> __cdecl polar(const double&, const double&);
  378. template _CRTIMP2 complex<double> __cdecl polar(const double&);
  379. template _CRTIMP2 complex<double> __cdecl pow(const complex<double>&, const complex<double>&);
  380. template _CRTIMP2 complex<double> __cdecl pow(const complex<double>&, const double&);
  381. template _CRTIMP2 complex<double> __cdecl pow(const complex<double>&, int);
  382. template _CRTIMP2 complex<double> __cdecl pow(const double&, const complex<double>&);
  383. template _CRTIMP2 complex<double> __cdecl sin(const complex<double>&);
  384. template _CRTIMP2 complex<double> __cdecl sinh(const complex<double>&);
  385. template _CRTIMP2 complex<double> __cdecl sqrt(const complex<double>&);
  386. template _CRTIMP2 complex<double> __cdecl tanh(const complex<double>&);
  387. template _CRTIMP2 complex<double> __cdecl tan(const complex<double>&);
  388. template _CRTIMP2 long double __cdecl imag(const complex<long double>&);
  389. template _CRTIMP2 long double __cdecl real(const complex<long double>&);
  390. template _CRTIMP2 long double __cdecl _Fabs(const complex<long double>&, int *);
  391. template _CRTIMP2 complex<long double> __cdecl operator+(const complex<long double>&, const complex<long double>&);
  392. template _CRTIMP2 complex<long double> __cdecl operator+(const complex<long double>&, const long double&);
  393. template _CRTIMP2 complex<long double> __cdecl operator+(const long double&, const complex<long double>&);
  394. template _CRTIMP2 complex<long double> __cdecl operator-(const complex<long double>&, const complex<long double>&);
  395. template _CRTIMP2 complex<long double> __cdecl operator-(const complex<long double>&, const long double&);
  396. template _CRTIMP2 complex<long double> __cdecl operator-(const long double&, const complex<long double>&);
  397. template _CRTIMP2 complex<long double> __cdecl operator*(const complex<long double>&, const complex<long double>&);
  398. template _CRTIMP2 complex<long double> __cdecl operator*(const complex<long double>&, const long double&);
  399. template _CRTIMP2 complex<long double> __cdecl operator*(const long double&, const complex<long double>&);
  400. template _CRTIMP2 complex<long double> __cdecl operator/(const complex<long double>&, const complex<long double>&);
  401. template _CRTIMP2 complex<long double> __cdecl operator/(const complex<long double>&, const long double&);
  402. template _CRTIMP2 complex<long double> __cdecl operator/(const long double&, const complex<long double>&);
  403. template _CRTIMP2 complex<long double> __cdecl operator+(const complex<long double>&);
  404. template _CRTIMP2 complex<long double> __cdecl operator-(const complex<long double>&);
  405. template _CRTIMP2 bool __cdecl operator==(const complex<long double>&, const complex<long double>&);
  406. template _CRTIMP2 bool __cdecl operator==(const complex<long double>&, const long double&);
  407. template _CRTIMP2 bool __cdecl operator==(const long double&, const complex<long double>&);
  408. template _CRTIMP2 bool __cdecl operator!=(const complex<long double>&, const complex<long double>&);
  409. template _CRTIMP2 bool __cdecl operator!=(const complex<long double>&, const long double&);
  410. template _CRTIMP2 bool __cdecl operator!=(const long double&, const complex<long double>&);
  411. template _CRTIMP2 long double __cdecl abs(const complex<long double>&);
  412. template _CRTIMP2 long double __cdecl arg(const complex<long double>&);
  413. template _CRTIMP2 complex<long double> __cdecl conj(const complex<long double>&);
  414. template _CRTIMP2 complex<long double> __cdecl cos(const complex<long double>&);
  415. template _CRTIMP2 complex<long double> __cdecl cosh(const complex<long double>&);
  416. template _CRTIMP2 complex<long double> __cdecl exp(const complex<long double>&);
  417. template _CRTIMP2 complex<long double> __cdecl log(const complex<long double>&);
  418. template _CRTIMP2 complex<long double> __cdecl log10(const complex<long double>&);
  419. template _CRTIMP2 long double __cdecl norm(const complex<long double>&);
  420. template _CRTIMP2 complex<long double> __cdecl polar(const long double&, const long double&);
  421. template _CRTIMP2 complex<long double> __cdecl polar(const long double&);
  422. template _CRTIMP2 complex<long double> __cdecl pow(const complex<long double>&, const complex<long double>&);
  423. template _CRTIMP2 complex<long double> __cdecl pow(const complex<long double>&, const long double&);
  424. template _CRTIMP2 complex<long double> __cdecl pow(const complex<long double>&, int);
  425. template _CRTIMP2 complex<long double> __cdecl pow(const long double&, const complex<long double>&);
  426. template _CRTIMP2 complex<long double> __cdecl sin(const complex<long double>&);
  427. template _CRTIMP2 complex<long double> __cdecl sinh(const complex<long double>&);
  428. template _CRTIMP2 complex<long double> __cdecl sqrt(const complex<long double>&);
  429. template _CRTIMP2 complex<long double> __cdecl tanh(const complex<long double>&);
  430. template _CRTIMP2 complex<long double> __cdecl tan(const complex<long double>&);
  431. template<> const basic_string<char, char_traits<char>, allocator<char> >::size_type
  432. basic_string<char, char_traits<char>, allocator<char> >::npos =
  433. (size_type)(-1);
  434. template<> const basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >::size_type
  435. basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >::npos =
  436. (size_type)(-1);
  437. #ifdef _NATIVE_WCHAR_T_DEFINED
  438. template<> const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >::size_type
  439. basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >::npos =
  440. (size_type)(-1);
  441. #endif
  442. _STD_END
  443. /*
  444. * Copyright (c) 1992-2001 by P.J. Plauger. ALL RIGHTS RESERVED.
  445. * Consult your license regarding permissions and restrictions.
  446. V3.10:0009 */