1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480
|
Index: assert.h
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/assert.h,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -c -3 -p -r1.1.1.1 -r1.3
*** assert.h 13 Jun 2001 19:30:38 -0000 1.1.1.1
--- assert.h 27 Jan 2006 14:16:50 -0000 1.3
*************** _CRTIMP void __cdecl _assert(void *, voi
*** 63,68 ****
}
#endif
! #define assert(exp) (void)( (exp) || (_assert(#exp, __FILE__, __LINE__), 0) )
#endif /* NDEBUG */
--- 63,68 ----
}
#endif
! #define assert(exp) ((void)0)
#endif /* NDEBUG */
Index: deque
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/deque,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** deque 13 Jun 2001 19:30:51 -0000 1.1.1.1
--- deque 13 Jun 2001 21:16:23 -0000 1.2
*************** template<class _Ty, class _A = allocator
*** 23,36 ****
public:
typedef deque<_Ty, _A> _Myt;
typedef _A allocator_type;
! typedef _A::size_type size_type;
! typedef _A::difference_type difference_type;
! typedef _A::pointer _Tptr;
! typedef _A::const_pointer _Ctptr;
typedef _POINTER_X(_Tptr, _A) _Mapptr;
! typedef _A::reference reference;
! typedef _A::const_reference const_reference;
! typedef _A::value_type value_type;
// CLASS const_iterator
class iterator;
class const_iterator : public _Ranit<_Ty, difference_type> {
--- 23,36 ----
public:
typedef deque<_Ty, _A> _Myt;
typedef _A allocator_type;
! typedef typename _A::size_type size_type;
! typedef typename _A::difference_type difference_type;
! typedef typename _A::pointer _Tptr;
! typedef typename _A::const_pointer _Ctptr;
typedef _POINTER_X(_Tptr, _A) _Mapptr;
! typedef typename _A::reference reference;
! typedef typename _A::const_reference const_reference;
! typedef typename _A::value_type value_type;
// CLASS const_iterator
class iterator;
class const_iterator : public _Ranit<_Ty, difference_type> {
Index: fstream
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/fstream,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -c -3 -p -r1.1.1.1 -r1.3
*** fstream 13 Jun 2001 19:30:57 -0000 1.1.1.1
--- fstream 14 Jun 2001 18:20:43 -0000 1.3
*************** inline bool _Ungetc(char _C, _Filet *_Fi
*** 62,73 ****
inline bool _Ungetc(wchar_t _C, _Filet *_Fi)
{return (ungetwc(_C, _Fi) != WEOF); }
// TEMPLATE CLASS basic_filebuf
! template<class _E, class _Tr = char_traits<_E> >
class basic_filebuf : public basic_streambuf<_E, _Tr> {
public:
typedef basic_filebuf<_E, _Tr> _Myt;
typedef basic_streambuf<_E, _Tr> _Mysb;
! typedef codecvt<_E, char, _Tr::state_type> _Cvt;
basic_filebuf(_Filet *_F = 0)
: _Loc(), _Mysb() {_Init(_F, _Newfl); }
basic_filebuf(_Uninitialized)
--- 62,73 ----
inline bool _Ungetc(wchar_t _C, _Filet *_Fi)
{return (ungetwc(_C, _Fi) != WEOF); }
// TEMPLATE CLASS basic_filebuf
! template<class _E, class _Tr >
class basic_filebuf : public basic_streambuf<_E, _Tr> {
public:
typedef basic_filebuf<_E, _Tr> _Myt;
typedef basic_streambuf<_E, _Tr> _Mysb;
! typedef codecvt<_E, char, typename _Tr::state_type> _Cvt;
basic_filebuf(_Filet *_F = 0)
: _Loc(), _Mysb() {_Init(_F, _Newfl); }
basic_filebuf(_Uninitialized)
*************** protected:
*** 210,216 ****
virtual int sync()
{return (_File == 0 || 0 <= fflush(_File) ? 0 : -1); }
void _Init(_Filet *_Fp, _Initfl _Which)
! {static _Tr::state_type _Stinit;
_Closef = _Which == _Openfl;
if (_Which == _Newfl)
{_Loc.locale::~locale();
--- 210,216 ----
virtual int sync()
{return (_File == 0 || 0 <= fflush(_File) ? 0 : -1); }
void _Init(_Filet *_Fp, _Initfl _Which)
! {static typename _Tr::state_type _Stinit;
_Closef = _Which == _Openfl;
if (_Which == _Newfl)
{_Loc.locale::~locale();
*************** protected:
*** 235,242 ****
_Str = new string; }
private:
_Cvt *_Pcvt;
! _Tr::state_type _State0;
! _Tr::state_type _State;
string *_Str;
bool _Closef;
locale _Loc;
--- 235,242 ----
_Str = new string; }
private:
_Cvt *_Pcvt;
! typename _Tr::state_type _State0;
! typename _Tr::state_type _State;
string *_Str;
bool _Closef;
locale _Loc;
*************** extern template class _CRTIMP basic_file
*** 251,257 ****
#endif // _DLL
// TEMPLATE CLASS basic_ifstream
! template<class _E, class _Tr = char_traits<_E> >
class basic_ifstream : public basic_istream<_E, _Tr> {
public:
typedef basic_ifstream<_E, _Tr> _Myt;
--- 251,257 ----
#endif // _DLL
// TEMPLATE CLASS basic_ifstream
! template<class _E, class _Tr >
class basic_ifstream : public basic_istream<_E, _Tr> {
public:
typedef basic_ifstream<_E, _Tr> _Myt;
*************** extern template class _CRTIMP basic_ifst
*** 289,295 ****
#endif // _DLL
// TEMPLATE CLASS basic_ofstream
! template<class _E, class _Tr = char_traits<_E> >
class basic_ofstream : public basic_ostream<_E, _Tr> {
public:
typedef basic_ofstream<_E, _Tr> _Myt;
--- 289,295 ----
#endif // _DLL
// TEMPLATE CLASS basic_ofstream
! template<class _E, class _Tr >
class basic_ofstream : public basic_ostream<_E, _Tr> {
public:
typedef basic_ofstream<_E, _Tr> _Myt;
*************** extern template class _CRTIMP basic_ofst
*** 328,334 ****
// TEMPLATE CLASS basic_fstream
! template<class _E, class _Tr = char_traits<_E> >
class basic_fstream : public basic_iostream<_E, _Tr> {
public:
basic_fstream()
--- 328,334 ----
// TEMPLATE CLASS basic_fstream
! template<class _E, class _Tr >
class basic_fstream : public basic_iostream<_E, _Tr> {
public:
basic_fstream()
Index: functional
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/functional,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -c -3 -p -r1.1.1.1 -r1.3
*** functional 13 Jun 2001 19:30:57 -0000 1.1.1.1
--- functional 14 Jun 2001 18:20:43 -0000 1.3
*************** template<class _Ty>
*** 118,128 ****
// TEMPLATE CLASS unary_negate
template<class _Ufn>
class unary_negate
! : public unary_function<_Ufn::argument_type, bool> {
public:
explicit unary_negate(const _Ufn& _X)
: _Fn(_X) {}
! bool operator()(const _Ufn::argument_type& _X) const
{return (!_Fn(_X)); }
protected:
_Ufn _Fn;
--- 118,128 ----
// TEMPLATE CLASS unary_negate
template<class _Ufn>
class unary_negate
! : public unary_function<typename _Ufn::argument_type, bool> {
public:
explicit unary_negate(const _Ufn& _X)
: _Fn(_X) {}
! bool operator()(const typename _Ufn::argument_type& _X) const
{return (!_Fn(_X)); }
protected:
_Ufn _Fn;
*************** template<class _Ufn> inline
*** 134,146 ****
// TEMPLATE CLASS binary_negate
template<class _Bfn>
class binary_negate
! : public binary_function<_Bfn::first_argument_type,
! _Bfn::second_argument_type, bool> {
public:
explicit binary_negate(const _Bfn& _X)
: _Fn(_X) {}
! bool operator()(const _Bfn::first_argument_type& _X,
! const _Bfn::second_argument_type& _Y) const
{return (!_Fn(_X, _Y)); }
protected:
_Bfn _Fn;
--- 134,146 ----
// TEMPLATE CLASS binary_negate
template<class _Bfn>
class binary_negate
! : public binary_function<typename _Bfn::first_argument_type,
! typename _Bfn::second_argument_type, bool> {
public:
explicit binary_negate(const _Bfn& _X)
: _Fn(_X) {}
! bool operator()(const typename _Bfn::first_argument_type& _X,
! const typename _Bfn::second_argument_type& _Y) const
{return (!_Fn(_X, _Y)); }
protected:
_Bfn _Fn;
*************** template<class _Bfn> inline
*** 152,168 ****
// TEMPLATE CLASS binder1st
template<class _Bfn>
class binder1st
! : public unary_function<_Bfn::second_argument_type,
! _Bfn::result_type> {
public:
binder1st(const _Bfn& _X,
! const _Bfn::first_argument_type& _Y)
: op(_X), value(_Y) {}
result_type operator()(const argument_type& _X) const
{return (op(value, _X)); }
protected:
_Bfn op;
! _Bfn::first_argument_type value;
};
// TEMPLATE FUNCTION bind1st
template<class _Bfn, class _Ty> inline
--- 152,168 ----
// TEMPLATE CLASS binder1st
template<class _Bfn>
class binder1st
! : public unary_function<typename _Bfn::second_argument_type,
! typename _Bfn::result_type> {
public:
binder1st(const _Bfn& _X,
! const typename _Bfn::first_argument_type& _Y)
: op(_X), value(_Y) {}
result_type operator()(const argument_type& _X) const
{return (op(value, _X)); }
protected:
_Bfn op;
! typename _Bfn::first_argument_type value;
};
// TEMPLATE FUNCTION bind1st
template<class _Bfn, class _Ty> inline
*************** template<class _Bfn, class _Ty> inline
*** 172,188 ****
// TEMPLATE CLASS binder2nd
template<class _Bfn>
class binder2nd
! : public unary_function<_Bfn::first_argument_type,
! _Bfn::result_type> {
public:
binder2nd(const _Bfn& _X,
! const _Bfn::second_argument_type& _Y)
: op(_X), value(_Y) {}
result_type operator()(const argument_type& _X) const
{return (op(_X, value)); }
protected:
_Bfn op;
! _Bfn::second_argument_type value;
};
// TEMPLATE FUNCTION bind2nd
template<class _Bfn, class _Ty> inline
--- 172,188 ----
// TEMPLATE CLASS binder2nd
template<class _Bfn>
class binder2nd
! : public unary_function<typename _Bfn::first_argument_type,
! typename _Bfn::result_type> {
public:
binder2nd(const _Bfn& _X,
! const typename _Bfn::second_argument_type& _Y)
: op(_X), value(_Y) {}
result_type operator()(const argument_type& _X) const
{return (op(_X, value)); }
protected:
_Bfn op;
! typename _Bfn::second_argument_type value;
};
// TEMPLATE FUNCTION bind2nd
template<class _Bfn, class _Ty> inline
Index: ios
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/ios,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** ios 13 Jun 2001 19:31:04 -0000 1.1.1.1
--- ios 13 Jun 2001 21:16:23 -0000 1.2
***************
*** 13,19 ****
#endif /* _MSC_VER */
_STD_BEGIN
// TEMPLATE CLASS basic_ios
! template<class _E, class _Tr = char_traits<_E> >
class basic_ios : public ios_base {
public:
typedef basic_ios<_E, _Tr> _Myt;
--- 13,19 ----
#endif /* _MSC_VER */
_STD_BEGIN
// TEMPLATE CLASS basic_ios
! template<class _E, class _Tr >
class basic_ios : public ios_base {
public:
typedef basic_ios<_E, _Tr> _Myt;
*************** public:
*** 28,36 ****
{}
typedef _E char_type;
typedef _Tr traits_type;
! typedef _Tr::int_type int_type;
! typedef _Tr::pos_type pos_type;
! typedef _Tr::off_type off_type;
void clear(iostate _St = goodbit, bool _Ex = false)
{ios_base::clear(_Sb == 0 ? (int)_St | (int)badbit
: (int)_St, _Ex); }
--- 28,36 ----
{}
typedef _E char_type;
typedef _Tr traits_type;
! typedef typename _Tr::int_type int_type;
! typedef typename _Tr::pos_type pos_type;
! typedef typename _Tr::off_type off_type;
void clear(iostate _St = goodbit, bool _Ex = false)
{ios_base::clear(_Sb == 0 ? (int)_St | (int)badbit
: (int)_St, _Ex); }
Index: istream
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/istream,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** istream 13 Jun 2001 19:31:05 -0000 1.1.1.1
--- istream 13 Jun 2001 21:16:23 -0000 1.2
***************
*** 13,19 ****
#endif /* _MSC_VER */
_STD_BEGIN
// TEMPLATE CLASS basic_istream
! template<class _E, class _Tr = char_traits<_E> >
class basic_istream : virtual public basic_ios<_E, _Tr> {
public:
typedef basic_istream<_E, _Tr> _Myt;
--- 13,19 ----
#endif /* _MSC_VER */
_STD_BEGIN
// TEMPLATE CLASS basic_istream
! template<class _E, class _Tr >
class basic_istream : virtual public basic_ios<_E, _Tr> {
public:
typedef basic_istream<_E, _Tr> _Myt;
*************** extern template class _CRTIMP basic_istr
*** 430,436 ****
#endif // _DLL
// TEMPLATE CLASS basic_iostream
! template<class _E, class _Tr = char_traits<_E> >
class basic_iostream : public basic_istream<_E, _Tr>,
public basic_ostream<_E, _Tr> {
public:
--- 430,436 ----
#endif // _DLL
// TEMPLATE CLASS basic_iostream
! template<class _E, class _Tr >
class basic_iostream : public basic_istream<_E, _Tr>,
public basic_ostream<_E, _Tr> {
public:
*************** template<class _E, class _Tr> inline
*** 525,531 ****
if (_Ok)
{const _Ctype& _Fac = _USE(_I.getloc(), _Ctype);
_TRY_IO_BEGIN
! for (_Tr::int_type _C = _I.rdbuf()->sgetc(); ;
_C = _I.rdbuf()->snextc())
if (_Tr::eq_int_type(_Tr::eof(), _C))
{_St |= ios_base::eofbit;
--- 525,531 ----
if (_Ok)
{const _Ctype& _Fac = _USE(_I.getloc(), _Ctype);
_TRY_IO_BEGIN
! for (typename _Tr::int_type _C = _I.rdbuf()->sgetc(); ;
_C = _I.rdbuf()->snextc())
if (_Tr::eq_int_type(_Tr::eof(), _C))
{_St |= ios_base::eofbit;
Index: iterator
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/iterator,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** iterator 13 Jun 2001 19:31:05 -0000 1.1.1.1
--- iterator 13 Jun 2001 21:16:23 -0000 1.2
*************** template<class _C>
*** 74,80 ****
: public iterator<output_iterator_tag, void, void> {
public:
typedef _C container_type;
! typedef _C::value_type value_type;
explicit back_insert_iterator(_C& _X)
: container(_X) {}
back_insert_iterator<_C>& operator=(
--- 74,80 ----
: public iterator<output_iterator_tag, void, void> {
public:
typedef _C container_type;
! typedef typename _C::value_type value_type;
explicit back_insert_iterator(_C& _X)
: container(_X) {}
back_insert_iterator<_C>& operator=(
*************** template<class _C>
*** 99,105 ****
: public iterator<output_iterator_tag, void, void> {
public:
typedef _C container_type;
! typedef _C::value_type value_type;
explicit front_insert_iterator(_C& _X)
: container(_X) {}
front_insert_iterator<_C>& operator=(
--- 99,105 ----
: public iterator<output_iterator_tag, void, void> {
public:
typedef _C container_type;
! typedef typename _C::value_type value_type;
explicit front_insert_iterator(_C& _X)
: container(_X) {}
front_insert_iterator<_C>& operator=(
*************** template<class _C>
*** 124,131 ****
: public iterator<output_iterator_tag, void, void> {
public:
typedef _C container_type;
! typedef _C::value_type value_type;
! insert_iterator(_C& _X, _C::iterator _I)
: container(_X), iter(_I) {}
insert_iterator<_C>& operator=(
const value_type& _V)
--- 124,131 ----
: public iterator<output_iterator_tag, void, void> {
public:
typedef _C container_type;
! typedef typename _C::value_type value_type;
! insert_iterator(_C& _X, typename _C::iterator _I)
: container(_X), iter(_I) {}
insert_iterator<_C>& operator=(
const value_type& _V)
*************** public:
*** 140,146 ****
{return (*this); }
protected:
_C& container;
! _C::iterator iter;
};
template<class _C, class _XI> inline
insert_iterator<_C> inserter(_C& _X, _XI _I)
--- 140,146 ----
{return (*this); }
protected:
_C& container;
! typename _C::iterator iter;
};
template<class _C, class _XI> inline
insert_iterator<_C> inserter(_C& _X, _XI _I)
Index: list
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/list,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** list 13 Jun 2001 19:31:07 -0000 1.1.1.1
--- list 13 Jun 2001 21:16:23 -0000 1.2
***************
*** 18,29 ****
#endif /* _MSC_VER */
_STD_BEGIN
// TEMPLATE CLASS list
! template<class _Ty, class _A = allocator<_Ty> >
class list {
protected:
struct _Node;
friend struct _Node;
! typedef _POINTER_X(_Node, _A) _Nodeptr;
struct _Node {
_Nodeptr _Next, _Prev;
_Ty _Value;
--- 18,29 ----
#endif /* _MSC_VER */
_STD_BEGIN
// TEMPLATE CLASS list
! template<class _Ty, class _AL = allocator<_Ty> >
class list {
protected:
struct _Node;
friend struct _Node;
! typedef _POINTER_X(_Node, _AL) _Nodeptr;
struct _Node {
_Nodeptr _Next, _Prev;
_Ty _Value;
*************** protected:
*** 31,38 ****
struct _Acc;
friend struct _Acc;
struct _Acc {
! typedef _REFERENCE_X(_Nodeptr, _A) _Nodepref;
! typedef _A::reference _Vref;
static _Nodepref _Next(_Nodeptr _P)
{return ((_Nodepref)(*_P)._Next); }
static _Nodepref _Prev(_Nodeptr _P)
--- 31,38 ----
struct _Acc;
friend struct _Acc;
struct _Acc {
! typedef _REFERENCE_X(_Nodeptr, _AL) _Nodepref;
! typedef typename _AL::reference _Vref;
static _Nodepref _Next(_Nodeptr _P)
{return ((_Nodepref)(*_P)._Next); }
static _Nodepref _Prev(_Nodeptr _P)
*************** protected:
*** 41,55 ****
{return ((_Vref)(*_P)._Value); }
};
public:
! typedef list<_Ty, _A> _Myt;
! typedef _A allocator_type;
! typedef _A::size_type size_type;
! typedef _A::difference_type difference_type;
! typedef _A::pointer _Tptr;
! typedef _A::const_pointer _Ctptr;
! typedef _A::reference reference;
! typedef _A::const_reference const_reference;
! typedef _A::value_type value_type;
// CLASS const_iterator
class iterator;
class const_iterator;
--- 41,55 ----
{return ((_Vref)(*_P)._Value); }
};
public:
! typedef list<_Ty, _AL> _Myt;
! typedef _AL allocator_type;
! typedef typename _AL::size_type size_type;
! typedef typename _AL::difference_type difference_type;
! typedef typename _AL::pointer _Tptr;
! typedef typename _AL::const_pointer _Ctptr;
! typedef typename _AL::reference reference;
! typedef typename _AL::const_reference const_reference;
! typedef typename _AL::value_type value_type;
// CLASS const_iterator
class iterator;
class const_iterator;
*************** public:
*** 126,136 ****
typedef reverse_bidirectional_iterator<const_iterator,
value_type, const_reference, _Ctptr, difference_type>
const_reverse_iterator;
! explicit list(const _A& _Al = _A())
: allocator(_Al),
_Head(_Buynode()), _Size(0) {}
explicit list(size_type _N, const _Ty& _V = _Ty(),
! const _A& _Al = _A())
: allocator(_Al),
_Head(_Buynode()), _Size(0)
{insert(begin(), _N, _V); }
--- 126,136 ----
typedef reverse_bidirectional_iterator<const_iterator,
value_type, const_reference, _Ctptr, difference_type>
const_reverse_iterator;
! explicit list(const _AL& _Al = _AL())
: allocator(_Al),
_Head(_Buynode()), _Size(0) {}
explicit list(size_type _N, const _Ty& _V = _Ty(),
! const _AL& _Al = _AL())
: allocator(_Al),
_Head(_Buynode()), _Size(0)
{insert(begin(), _N, _V); }
*************** public:
*** 138,149 ****
: allocator(_X.allocator),
_Head(_Buynode()), _Size(0)
{insert(begin(), _X.begin(), _X.end()); }
! list(const _Ty *_F, const _Ty *_L, const _A& _Al = _A())
: allocator(_Al),
_Head(_Buynode()), _Size(0)
{insert(begin(), _F, _L); }
typedef const_iterator _It;
! list(_It _F, _It _L, const _A& _Al = _A())
: allocator(_Al),
_Head(_Buynode()), _Size(0)
{insert(begin(), _F, _L); }
--- 138,149 ----
: allocator(_X.allocator),
_Head(_Buynode()), _Size(0)
{insert(begin(), _X.begin(), _X.end()); }
! list(const _Ty *_F, const _Ty *_L, const _AL& _Al = _AL())
: allocator(_Al),
_Head(_Buynode()), _Size(0)
{insert(begin(), _F, _L); }
typedef const_iterator _It;
! list(_It _F, _It _L, const _AL& _Al = _AL())
: allocator(_Al),
_Head(_Buynode()), _Size(0)
{insert(begin(), _F, _L); }
*************** public:
*** 190,196 ****
{return (allocator.max_size()); }
bool empty() const
{return (size() == 0); }
! _A get_allocator() const
{return (allocator); }
reference front()
{return (*begin()); }
--- 190,196 ----
{return (allocator.max_size()); }
bool empty() const
{return (size() == 0); }
! _AL get_allocator() const
{return (allocator); }
reference front()
{return (*begin()); }
*************** protected:
*** 409,415 ****
_X.erase(_F, _L); }}
void _Xran() const
{_THROW(out_of_range, "invalid list<T> subscript"); }
! _A allocator;
_Nodeptr _Head;
size_type _Size;
};
--- 409,415 ----
_X.erase(_F, _L); }}
void _Xran() const
{_THROW(out_of_range, "invalid list<T> subscript"); }
! _AL allocator;
_Nodeptr _Head;
size_type _Size;
};
Index: map
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/map,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** map 13 Jun 2001 19:31:08 -0000 1.1.1.1
--- map 13 Jun 2001 21:16:23 -0000 1.2
*************** public:
*** 41,47 ****
typedef _Ty referent_type;
typedef _Pr key_compare;
typedef _A allocator_type;
! typedef _A::reference _Tref;
typedef _Tree<_K, value_type, _Kfn, _Pr, _A> _Imp;
typedef _Imp::size_type size_type;
typedef _Imp::difference_type difference_type;
--- 41,47 ----
typedef _Ty referent_type;
typedef _Pr key_compare;
typedef _A allocator_type;
! typedef typename _A::reference _Tref;
typedef _Tree<_K, value_type, _Kfn, _Pr, _A> _Imp;
typedef _Imp::size_type size_type;
typedef _Imp::difference_type difference_type;
Index: oaidl.h
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/oaidl.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** oaidl.h 13 Jun 2001 19:31:35 -0000 1.1.1.1
--- oaidl.h 3 Jul 2001 22:10:58 -0000 1.2
*************** struct tagVARIANT
*** 416,422 ****
FLOAT fltVal;
DOUBLE dblVal;
VARIANT_BOOL boolVal;
! _VARIANT_BOOL bool;
SCODE scode;
CY cyVal;
DATE date;
--- 416,422 ----
FLOAT fltVal;
DOUBLE dblVal;
VARIANT_BOOL boolVal;
! // _VARIANT_BOOL bool;
SCODE scode;
CY cyVal;
DATE date;
*************** struct tagVARIANT
*** 430,436 ****
FLOAT __RPC_FAR *pfltVal;
DOUBLE __RPC_FAR *pdblVal;
VARIANT_BOOL __RPC_FAR *pboolVal;
! _VARIANT_BOOL __RPC_FAR *pbool;
SCODE __RPC_FAR *pscode;
CY __RPC_FAR *pcyVal;
DATE __RPC_FAR *pdate;
--- 430,436 ----
FLOAT __RPC_FAR *pfltVal;
DOUBLE __RPC_FAR *pdblVal;
VARIANT_BOOL __RPC_FAR *pboolVal;
! // _VARIANT_BOOL __RPC_FAR *pbool;
SCODE __RPC_FAR *pscode;
CY __RPC_FAR *pcyVal;
DATE __RPC_FAR *pdate;
Index: objidl.h
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/objidl.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** objidl.h 13 Jun 2001 19:31:37 -0000 1.1.1.1
--- objidl.h 3 Jul 2001 22:10:58 -0000 1.2
*************** struct tagPROPVARIANT
*** 8885,8891 ****
/* [case()] */ short iVal;
/* [case()] */ USHORT uiVal;
/* [case()] */ VARIANT_BOOL boolVal;
! /* [case()] */ _VARIANT_BOOL bool;
/* [case()] */ long lVal;
/* [case()] */ ULONG ulVal;
/* [case()] */ float fltVal;
--- 8885,8891 ----
/* [case()] */ short iVal;
/* [case()] */ USHORT uiVal;
/* [case()] */ VARIANT_BOOL boolVal;
! // /* [case()] */ _VARIANT_BOOL bool;
/* [case()] */ long lVal;
/* [case()] */ ULONG ulVal;
/* [case()] */ float fltVal;
Index: ostream
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/ostream,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** ostream 13 Jun 2001 19:31:44 -0000 1.1.1.1
--- ostream 13 Jun 2001 21:16:23 -0000 1.2
***************
*** 19,25 ****
(x).setstate(ios_base::badbit, true); _CATCH_END
_STD_BEGIN
// TEMPLATE CLASS basic_ostream
! template<class _E, class _Tr = char_traits<_E> >
class basic_ostream : virtual public basic_ios<_E, _Tr> {
public:
typedef basic_ostream<_E, _Tr> _Myt;
--- 19,25 ----
(x).setstate(ios_base::badbit, true); _CATCH_END
_STD_BEGIN
// TEMPLATE CLASS basic_ostream
! template<class _E, class _Tr >
class basic_ostream : virtual public basic_ios<_E, _Tr> {
public:
typedef basic_ostream<_E, _Tr> _Myt;
Index: process.h
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/process.h,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -c -3 -p -r1.1.1.1 -r1.3
*** process.h 13 Jun 2001 19:31:45 -0000 1.1.1.1
--- process.h 1 Feb 2005 20:47:33 -0000 1.3
*************** _CRTIMP int __cdecl _wsystem(const wchar
*** 183,189 ****
*/
int __cdecl _loaddll(char *);
int __cdecl _unloaddll(int);
! int (__cdecl * __cdecl _getdllprocaddr(int, char *, int))();
/* --------- The preceding functions are OBSOLETE --------- */
--- 183,190 ----
*/
int __cdecl _loaddll(char *);
int __cdecl _unloaddll(int);
! typedef int (__cdecl * _getdllprocaddr_type)();
! _getdllprocaddr_type __cdecl _getdllprocaddr(int, char *, int);
/* --------- The preceding functions are OBSOLETE --------- */
Index: queue
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/queue,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -c -3 -p -r1.1.1.1 -r1.3
*** queue 13 Jun 2001 19:31:46 -0000 1.1.1.1
--- queue 14 Jun 2001 18:20:43 -0000 1.3
*************** _STD_BEGIN
*** 19,27 ****
template<class _Ty, class _C = deque<_Ty> >
class queue {
public:
! typedef _C::allocator_type allocator_type;
! typedef _C::value_type value_type;
! typedef _C::size_type size_type;
explicit queue(const allocator_type& _Al = allocator_type())
: c(_Al) {}
allocator_type get_allocator() const
--- 19,27 ----
template<class _Ty, class _C = deque<_Ty> >
class queue {
public:
! typedef typename _C::allocator_type allocator_type;
! typedef typename _C::value_type value_type;
! typedef typename _C::size_type size_type;
explicit queue(const allocator_type& _Al = allocator_type())
: c(_Al) {}
allocator_type get_allocator() const
*************** protected:
*** 59,70 ****
};
// TEMPLATE CLASS priority_queue
template<class _Ty, class _C = vector<_Ty>,
! class _Pr = less<_C::value_type> >
class priority_queue {
public:
! typedef _C::allocator_type allocator_type;
! typedef _C::value_type value_type;
! typedef _C::size_type size_type;
explicit priority_queue(const _Pr& _X = _Pr(),
const allocator_type& _Al = allocator_type())
: c(_Al), comp(_X) {}
--- 59,70 ----
};
// TEMPLATE CLASS priority_queue
template<class _Ty, class _C = vector<_Ty>,
! class _Pr = less<typename _C::value_type> >
class priority_queue {
public:
! typedef typename _C::allocator_type allocator_type;
! typedef typename _C::value_type value_type;
! typedef typename _C::size_type size_type;
explicit priority_queue(const _Pr& _X = _Pr(),
const allocator_type& _Al = allocator_type())
: c(_Al), comp(_X) {}
Index: signal.h
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/signal.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** signal.h 13 Jun 2001 19:31:52 -0000 1.1.1.1
--- signal.h 17 May 2004 17:34:46 -0000 1.2
*************** extern void * _pxcptinfoptrs;
*** 99,105 ****
/* Function prototypes */
! _CRTIMP void (__cdecl * __cdecl signal(int, void (__cdecl *)(int)))(int);
_CRTIMP int __cdecl raise(int);
--- 99,106 ----
/* Function prototypes */
! typedef void (__cdecl * __signal_handler_t)(int);
! _CRTIMP __signal_handler_t __cdecl signal(int, __signal_handler_t);
_CRTIMP int __cdecl raise(int);
Index: sstream
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/sstream,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** sstream 13 Jun 2001 19:31:56 -0000 1.1.1.1
--- sstream 13 Jun 2001 21:16:23 -0000 1.2
*************** _BITMASK(__Strstate, _Strstate);
*** 17,24 ****
_BITMASK_OPS(__Strstate)
// TEMPLATE CLASS basic_stringbuf
template<class _E,
! class _Tr = char_traits<_E>,
! class _A = allocator<_E> >
class basic_stringbuf : public basic_streambuf<_E, _Tr> {
public:
typedef basic_string<_E, _Tr, _A> _Mystr;
--- 17,24 ----
_BITMASK_OPS(__Strstate)
// TEMPLATE CLASS basic_stringbuf
template<class _E,
! class _Tr,
! class _A >
class basic_stringbuf : public basic_streambuf<_E, _Tr> {
public:
typedef basic_string<_E, _Tr, _A> _Mystr;
*************** private:
*** 196,203 ****
};
// TEMPLATE CLASS basic_istringstream
template<class _E,
! class _Tr = char_traits<_E>,
! class _A = allocator<_E> >
class basic_istringstream : public basic_istream<_E, _Tr> {
public:
typedef basic_stringbuf<_E, _Tr, _A> _Mysb;
--- 196,203 ----
};
// TEMPLATE CLASS basic_istringstream
template<class _E,
! class _Tr,
! class _A >
class basic_istringstream : public basic_istream<_E, _Tr> {
public:
typedef basic_stringbuf<_E, _Tr, _A> _Mysb;
*************** private:
*** 220,227 ****
};
// TEMPLATE CLASS basic_ostringstream
template<class _E,
! class _Tr = char_traits<_E>,
! class _A = allocator<_E> >
class basic_ostringstream : public basic_ostream<_E, _Tr> {
public:
typedef basic_stringbuf<_E, _Tr, _A> _Mysb;
--- 220,227 ----
};
// TEMPLATE CLASS basic_ostringstream
template<class _E,
! class _Tr,
! class _A >
class basic_ostringstream : public basic_ostream<_E, _Tr> {
public:
typedef basic_stringbuf<_E, _Tr, _A> _Mysb;
*************** private:
*** 244,251 ****
};
// TEMPLATE CLASS basic_stringstream
template<class _E,
! class _Tr = char_traits<_E>,
! class _A = allocator<_E> >
class basic_stringstream : public basic_iostream<_E, _Tr> {
public:
typedef basic_string<_E, _Tr, _A> _Mystr;
--- 244,251 ----
};
// TEMPLATE CLASS basic_stringstream
template<class _E,
! class _Tr,
! class _A >
class basic_stringstream : public basic_iostream<_E, _Tr> {
public:
typedef basic_string<_E, _Tr, _A> _Mystr;
Index: stack
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/stack,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** stack 13 Jun 2001 19:31:56 -0000 1.1.1.1
--- stack 13 Jun 2001 21:16:23 -0000 1.2
*************** _STD_BEGIN
*** 16,24 ****
template<class _Ty, class _C = deque<_Ty> >
class stack {
public:
! typedef _C::allocator_type allocator_type;
! typedef _C::value_type value_type;
! typedef _C::size_type size_type;
explicit stack(const allocator_type& _Al = allocator_type())
: c(_Al) {}
allocator_type get_allocator() const
--- 16,24 ----
template<class _Ty, class _C = deque<_Ty> >
class stack {
public:
! typedef typename _C::allocator_type allocator_type;
! typedef typename _C::value_type value_type;
! typedef typename _C::size_type size_type;
explicit stack(const allocator_type& _Al = allocator_type())
: c(_Al) {}
allocator_type get_allocator() const
Index: streambuf
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/streambuf,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** streambuf 13 Jun 2001 19:31:57 -0000 1.1.1.1
--- streambuf 13 Jun 2001 21:16:23 -0000 1.2
***************
*** 13,19 ****
#endif /* _MSC_VER */
_STD_BEGIN
// TEMPLATE CLASS basic_streambuf
! template<class _E, class _Tr = char_traits<_E> >
class basic_streambuf {
protected:
basic_streambuf()
--- 13,19 ----
#endif /* _MSC_VER */
_STD_BEGIN
// TEMPLATE CLASS basic_streambuf
! template<class _E, class _Tr >
class basic_streambuf {
protected:
basic_streambuf()
*************** public:
*** 26,34 ****
typedef _Tr traits_type;
virtual ~basic_streambuf()
{}
! typedef _Tr::int_type int_type;
! typedef _Tr::pos_type pos_type;
! typedef _Tr::off_type off_type;
pos_type pubseekoff(off_type _O, ios_base::seekdir _W,
ios_base::openmode _M = ios_base::in | ios_base::out)
{return (seekoff(_O, _W, _M)); }
--- 26,34 ----
typedef _Tr traits_type;
virtual ~basic_streambuf()
{}
! typedef typename _Tr::int_type int_type;
! typedef typename _Tr::pos_type pos_type;
! typedef typename _Tr::off_type off_type;
pos_type pubseekoff(off_type _O, ios_base::seekdir _W,
ios_base::openmode _M = ios_base::in | ios_base::out)
{return (seekoff(_O, _W, _M)); }
Index: string
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/string,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** string 13 Jun 2001 19:31:57 -0000 1.1.1.1
--- string 13 Jun 2001 21:16:23 -0000 1.2
*************** template<class _E, class _Tr, class _A>
*** 121,130 ****
if (_Ok)
{const _Ctype& _Fac = _USE(_I.getloc(), _Ctype);
_TRY_IO_BEGIN
! _A::size_type _N = 0 < _I.width()
&& _I.width() < _X.max_size()
? _I.width() : _X.max_size();
! _Tr::int_type _C = _I.rdbuf()->sgetc();
for (; 0 < --_N; _C = _I.rdbuf()->snextc())
if(_Tr::eq_int_type(_Tr::eof(), _C))
{_St |= ios_base::eofbit;
--- 121,130 ----
if (_Ok)
{const _Ctype& _Fac = _USE(_I.getloc(), _Ctype);
_TRY_IO_BEGIN
! typename _A::size_type _N = 0 < _I.width()
&& _I.width() < _X.max_size()
? _I.width() : _X.max_size();
! typename _Tr::int_type _C = _I.rdbuf()->sgetc();
for (; 0 < --_N; _C = _I.rdbuf()->snextc())
if(_Tr::eq_int_type(_Tr::eof(), _C))
{_St |= ios_base::eofbit;
*************** template<class _E, class _Tr, class _A>
*** 155,161 ****
const _Myis::sentry _Ok(_I, true);
if (_Ok)
{_TRY_IO_BEGIN
! _Tr::int_type _C = _I.rdbuf()->sgetc();
for (; ; _C = _I.rdbuf()->snextc())
if (_Tr::eq_int_type(_Tr::eof(), _C))
{_St |= ios_base::eofbit;
--- 155,161 ----
const _Myis::sentry _Ok(_I, true);
if (_Ok)
{_TRY_IO_BEGIN
! typename _Tr::int_type _C = _I.rdbuf()->sgetc();
for (; ; _C = _I.rdbuf()->snextc())
if (_Tr::eq_int_type(_Tr::eof(), _C))
{_St |= ios_base::eofbit;
Index: typeinfo
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/typeinfo,v
retrieving revision 1.1.1.1
retrieving revision 1.5
diff -c -3 -p -r1.1.1.1 -r1.5
*** typeinfo 13 Jun 2001 19:32:04 -0000 1.1.1.1
--- typeinfo 3 Jun 2004 12:41:16 -0000 1.5
***************
*** 51,56 ****
--- 51,57 ----
#pragma pack(push,8)
#endif /* _MSC_VER */
+ namespace std {
class type_info {
public:
_CRTIMP virtual ~type_info();
*************** private:
*** 65,71 ****
type_info(const type_info& rhs);
type_info& operator=(const type_info& rhs);
};
!
// This include must occur below the definition of class type_info
#include <exception>
--- 66,73 ----
type_info(const type_info& rhs);
type_info& operator=(const type_info& rhs);
};
! }
! using std::type_info;
// This include must occur below the definition of class type_info
#include <exception>
Index: typeinfo.h
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/typeinfo.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** typeinfo.h 13 Jun 2001 19:32:04 -0000 1.1.1.1
--- typeinfo.h 17 May 2004 14:29:56 -0000 1.2
***************
*** 37,42 ****
--- 37,43 ----
#endif /* _DLL */
#endif /* _CRTIMP */
+ namespace std {
class type_info {
public:
_CRTIMP virtual ~type_info();
*************** private:
*** 51,56 ****
--- 52,59 ----
type_info(const type_info& rhs);
type_info& operator=(const type_info& rhs);
};
+ }
+ using std::type_info;
// This include must occur below the definition of class type_info
Index: utility
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/utility,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** utility 13 Jun 2001 19:32:05 -0000 1.1.1.1
--- utility 13 Jun 2001 21:16:23 -0000 1.2
*************** template<class _Ty, class _D>
*** 78,86 ****
// TEMPLATE CLASS iterator_traits (from <iterator>)
template<class _It>
struct iterator_traits {
! typedef _It::iterator_category iterator_category;
! typedef _It::value_type value_type;
! typedef _It::distance_type distance_type;
};
// TEMPLATE FUNCTION _Iter_cat (from <iterator>)
template<class _C, class _Ty, class _D> inline
--- 78,86 ----
// TEMPLATE CLASS iterator_traits (from <iterator>)
template<class _It>
struct iterator_traits {
! typedef typename _It::iterator_category iterator_category;
! typedef typename _It::value_type value_type;
! typedef typename _It::distance_type distance_type;
};
// TEMPLATE FUNCTION _Iter_cat (from <iterator>)
template<class _C, class _Ty, class _D> inline
*************** template<class _RI, class _Ty, class _Rt
*** 221,234 ****
{return (reverse_iterator<_RI, _Ty, _Rt, _Pt, _D>(
_Y.base() - _N)); }
// TEMPLATE CLASS istreambuf_iterator (from <iterator>)
! template<class _E, class _Tr = char_traits<_E> >
class istreambuf_iterator
! : public iterator<input_iterator_tag, _E, _Tr::off_type> {
public:
typedef istreambuf_iterator<_E, _Tr> _Myt;
typedef _E char_type;
typedef _Tr traits_type;
! typedef _Tr::int_type int_type;
typedef basic_streambuf<_E, _Tr> streambuf_type;
typedef basic_istream<_E, _Tr> istream_type;
istreambuf_iterator(streambuf_type *_Sb = 0) _THROW0()
--- 221,234 ----
{return (reverse_iterator<_RI, _Ty, _Rt, _Pt, _D>(
_Y.base() - _N)); }
// TEMPLATE CLASS istreambuf_iterator (from <iterator>)
! template<class _E, class _Tr >
class istreambuf_iterator
! : public iterator<input_iterator_tag, _E, typename _Tr::off_type> {
public:
typedef istreambuf_iterator<_E, _Tr> _Myt;
typedef _E char_type;
typedef _Tr traits_type;
! typedef typename _Tr::int_type int_type;
typedef basic_streambuf<_E, _Tr> streambuf_type;
typedef basic_istream<_E, _Tr> istream_type;
istreambuf_iterator(streambuf_type *_Sb = 0) _THROW0()
*************** template<class _E, class _Tr> inline
*** 286,292 ****
const istreambuf_iterator<_E, _Tr>& _Y)
{return (!(_X == _Y)); }
// TEMPLATE CLASS ostreambuf_iterator (from <iterator>)
! template<class _E, class _Tr = char_traits<_E> >
class ostreambuf_iterator
: public iterator<output_iterator_tag, void, void> {
typedef ostreambuf_iterator<_E, _Tr> _Myt;
--- 286,292 ----
const istreambuf_iterator<_E, _Tr>& _Y)
{return (!(_X == _Y)); }
// TEMPLATE CLASS ostreambuf_iterator (from <iterator>)
! template<class _E, class _Tr >
class ostreambuf_iterator
: public iterator<output_iterator_tag, void, void> {
typedef ostreambuf_iterator<_E, _Tr> _Myt;
Index: vector
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/vector,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** vector 13 Jun 2001 19:32:07 -0000 1.1.1.1
--- vector 13 Jun 2001 21:16:23 -0000 1.2
*************** template<class _Ty, class _A = allocator
*** 21,33 ****
public:
typedef vector<_Ty, _A> _Myt;
typedef _A allocator_type;
! typedef _A::size_type size_type;
! typedef _A::difference_type difference_type;
! typedef _A::pointer _Tptr;
! typedef _A::const_pointer _Ctptr;
! typedef _A::reference reference;
! typedef _A::const_reference const_reference;
! typedef _A::value_type value_type;
typedef _Tptr iterator;
typedef _Ctptr const_iterator;
typedef reverse_iterator<const_iterator, value_type,
--- 21,33 ----
public:
typedef vector<_Ty, _A> _Myt;
typedef _A allocator_type;
! typedef typename _A::size_type size_type;
! typedef typename _A::difference_type difference_type;
! typedef typename _A::pointer _Tptr;
! typedef typename _A::const_pointer _Ctptr;
! typedef typename _A::reference reference;
! typedef typename _A::const_reference const_reference;
! typedef typename _A::value_type value_type;
typedef _Tptr iterator;
typedef _Ctptr const_iterator;
typedef reverse_iterator<const_iterator, value_type,
Index: winnt.h
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/winnt.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** winnt.h 13 Jun 2001 19:32:16 -0000 1.1.1.1
--- winnt.h 3 Jul 2001 22:10:58 -0000 1.2
*************** typedef unsigned long POINTER_64_INT;
*** 92,104 ****
#if (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC) || defined(_M_IA64)) && !defined(MIDL_PASS)
! #define DECLSPEC_IMPORT __declspec(dllimport)
#else
#define DECLSPEC_IMPORT
#endif
#if (_MSC_VER >= 1200)
! #define DECLSPEC_NORETURN __declspec(noreturn)
#else
#define DECLSPEC_NORETURN
#endif
--- 92,104 ----
#if (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC) || defined(_M_IA64)) && !defined(MIDL_PASS)
! #define DECLSPEC_IMPORT
#else
#define DECLSPEC_IMPORT
#endif
#if (_MSC_VER >= 1200)
! #define DECLSPEC_NORETURN
#else
#define DECLSPEC_NORETURN
#endif
*************** Int64ShllMod32 (
*** 527,539 ****
DWORD ShiftCount
)
{
- __asm {
- mov ecx, ShiftCount
- mov eax, dword ptr [Value]
- mov edx, dword ptr [Value+4]
- shld edx, eax, cl
- shl eax, cl
- }
}
__inline LONGLONG
--- 527,532 ----
*************** Int64ShraMod32 (
*** 543,555 ****
DWORD ShiftCount
)
{
- __asm {
- mov ecx, ShiftCount
- mov eax, dword ptr [Value]
- mov edx, dword ptr [Value+4]
- shrd eax, edx, cl
- sar edx, cl
- }
}
__inline ULONGLONG
--- 536,541 ----
*************** Int64ShrlMod32 (
*** 559,571 ****
DWORD ShiftCount
)
{
- __asm {
- mov ecx, ShiftCount
- mov eax, dword ptr [Value]
- mov edx, dword ptr [Value+4]
- shrd eax, edx, cl
- shr edx, cl
- }
}
#pragma warning(default:4035)
--- 545,550 ----
*************** __jump_unwind (
*** 1516,1527 ****
#if !defined(MIDL_PASS) && defined(_M_IX86)
#pragma warning (disable:4035) // disable 4035 (function must return something)
! _inline PVOID GetFiberData( void ) { __asm {
! mov eax, fs:[0x10]
! mov eax,[eax]
! }
! }
! _inline PVOID GetCurrentFiber( void ) { __asm mov eax, fs:[0x10] }
#pragma warning (default:4035) // Reenable it
#endif
--- 1495,1502 ----
#if !defined(MIDL_PASS) && defined(_M_IX86)
#pragma warning (disable:4035) // disable 4035 (function must return something)
! _inline PVOID GetFiberData( void ) {}
! _inline PVOID GetCurrentFiber( void ) {}
#pragma warning (default:4035) // Reenable it
#endif
Index: xstring
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/xstring,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** xstring 13 Jun 2001 19:32:20 -0000 1.1.1.1
--- xstring 13 Jun 2001 21:16:23 -0000 1.2
*************** template<class _E,
*** 22,36 ****
class basic_string {
public:
typedef basic_string<_E, _Tr, _A> _Myt;
! typedef _A::size_type size_type;
! typedef _A::difference_type difference_type;
! typedef _A::pointer pointer;
! typedef _A::const_pointer const_pointer;
! typedef _A::reference reference;
! typedef _A::const_reference const_reference;
! typedef _A::value_type value_type;
! typedef _A::pointer iterator;
! typedef _A::const_pointer const_iterator;
typedef reverse_iterator<const_iterator, value_type,
const_reference, const_pointer, difference_type>
const_reverse_iterator;
--- 22,36 ----
class basic_string {
public:
typedef basic_string<_E, _Tr, _A> _Myt;
! typedef typename _A::size_type size_type;
! typedef typename _A::difference_type difference_type;
! typedef typename _A::pointer pointer;
! typedef typename _A::const_pointer const_pointer;
! typedef typename _A::reference reference;
! typedef typename _A::const_reference const_reference;
! typedef typename _A::value_type value_type;
! typedef typename _A::pointer iterator;
! typedef typename _A::const_pointer const_iterator;
typedef reverse_iterator<const_iterator, value_type,
const_reference, const_pointer, difference_type>
const_reverse_iterator;
Index: xtree
===================================================================
RCS file: /cvsroot/GxInclude/VcInclude/xtree,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -3 -p -r1.1.1.1 -r1.2
*** xtree 13 Jun 2001 19:32:20 -0000 1.1.1.1
--- xtree 13 Jun 2001 21:16:23 -0000 1.2
*************** protected:
*** 35,41 ****
static _Rbref _Color(_Nodeptr _P)
{return ((_Rbref)(*_P)._Color); }
static _Keyref _Key(_Nodeptr _P)
! {return (_Kfn()(_Value(_P))); }
static _Nodepref _Left(_Nodeptr _P)
{return ((_Nodepref)(*_P)._Left); }
static _Nodepref _Parent(_Nodeptr _P)
--- 35,41 ----
static _Rbref _Color(_Nodeptr _P)
{return ((_Rbref)(*_P)._Color); }
static _Keyref _Key(_Nodeptr _P)
! {return ((_Kfn())(_Value(_P))); }
static _Nodepref _Left(_Nodeptr _P)
{return ((_Nodepref)(*_P)._Left); }
static _Nodepref _Parent(_Nodeptr _P)
*************** public:
*** 48,55 ****
typedef _Tree<_K, _Ty, _Kfn, _Pr, _A> _Myt;
typedef _K key_type;
typedef _Ty value_type;
! typedef _A::size_type size_type;
! typedef _A::difference_type difference_type;
typedef _POINTER_X(_Ty, _A) _Tptr;
typedef _POINTER_X(const _Ty, _A) _Ctptr;
typedef _REFERENCE_X(_Ty, _A) reference;
--- 48,55 ----
typedef _Tree<_K, _Ty, _Kfn, _Pr, _A> _Myt;
typedef _K key_type;
typedef _Ty value_type;
! typedef typename _A::size_type size_type;
! typedef typename _A::difference_type difference_type;
typedef _POINTER_X(_Ty, _A) _Tptr;
typedef _POINTER_X(const _Ty, _A) _Ctptr;
typedef _REFERENCE_X(_Ty, _A) reference;
|