gccxml_gem 0.9.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +84 -0
- data/bin/gccxml.exe +0 -0
- data/bin/gccxml_cc1plus.exe +0 -0
- data/bin/gccxml_vcconfig.bat +52 -0
- data/bin/gccxml_vcconfig.exe +0 -0
- data/gccxml.rb +57 -0
- data/share/doc/gccxml-0.9/Copyright.txt +55 -0
- data/share/doc/gccxml-0.9/gccxml.html +168 -0
- data/share/doc/gccxml-0.9/gccxml.txt +293 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/algorithm +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/algorithm.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cctype +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cfloat +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/climits +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cmath +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/complex +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/complex.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstddef +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdio +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdlib +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ctime +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cwchar +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cwctype +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/deque +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/deque.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/exception +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/exception.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/function +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/function.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/functional +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/gccxml_typeinfo.h +146 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ios +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ios.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/istream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/istream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/limits +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/limits.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/list +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/list.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/locale +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/locale.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/map +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/map.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/memory +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/memory.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/new +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/new.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/queue +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/queue.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/codecvt +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/collate +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/ctype +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iosbase +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iotraits +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iterator +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/lochelp +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locimpl +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locvector +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/messages +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/money +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numbrw +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numeral +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwdispatch.h +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwlocale +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwstderr_macros.h +64 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/string_ref +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/time +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/traits +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/tree +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/usefacet +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/valimp +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/vendor +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/set +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/set.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stack +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stack.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/string +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/string.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/utility +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/utility.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/vector +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/vector.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/except.h +154 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_fstream.h +431 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_new.h +166 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_valarray.h +786 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_vector.h +1457 -0
- data/share/gccxml-0.9/Borland/5.5/io.h +352 -0
- data/share/gccxml-0.9/Borland/5.5/oaidl.h +7006 -0
- data/share/gccxml-0.9/Borland/5.5/propidl.h +1477 -0
- data/share/gccxml-0.9/Borland/5.5/rw/locimpl.h +477 -0
- data/share/gccxml-0.9/Borland/5.5/rw/rwlocale.h +619 -0
- data/share/gccxml-0.9/Borland/5.5/stdarg.h +55 -0
- data/share/gccxml-0.9/Borland/5.5/valarray.cc +2883 -0
- data/share/gccxml-0.9/GCC/2.95/algorithm +76 -0
- data/share/gccxml-0.9/GCC/2.95/bitset +17 -0
- data/share/gccxml-0.9/GCC/2.95/cctype +24 -0
- data/share/gccxml-0.9/GCC/2.95/clocale +14 -0
- data/share/gccxml-0.9/GCC/2.95/cmath +33 -0
- data/share/gccxml-0.9/GCC/2.95/complex +38 -0
- data/share/gccxml-0.9/GCC/2.95/csetjmp +13 -0
- data/share/gccxml-0.9/GCC/2.95/csignal +14 -0
- data/share/gccxml-0.9/GCC/2.95/cstdarg +12 -0
- data/share/gccxml-0.9/GCC/2.95/cstddef +13 -0
- data/share/gccxml-0.9/GCC/2.95/cstdio +55 -0
- data/share/gccxml-0.9/GCC/2.95/cstdlib +66 -0
- data/share/gccxml-0.9/GCC/2.95/cstring +34 -0
- data/share/gccxml-0.9/GCC/2.95/ctime +24 -0
- data/share/gccxml-0.9/GCC/2.95/cwchar +65 -0
- data/share/gccxml-0.9/GCC/2.95/cwctype +31 -0
- data/share/gccxml-0.9/GCC/2.95/deque +19 -0
- data/share/gccxml-0.9/GCC/2.95/exception +20 -0
- data/share/gccxml-0.9/GCC/2.95/fstream +23 -0
- data/share/gccxml-0.9/GCC/2.95/functional +64 -0
- data/share/gccxml-0.9/GCC/2.95/gccxml_bitset +1066 -0
- data/share/gccxml-0.9/GCC/2.95/iomanip +20 -0
- data/share/gccxml-0.9/GCC/2.95/iosfwd +20 -0
- data/share/gccxml-0.9/GCC/2.95/iostream +27 -0
- data/share/gccxml-0.9/GCC/2.95/iterator +39 -0
- data/share/gccxml-0.9/GCC/2.95/list +19 -0
- data/share/gccxml-0.9/GCC/2.95/map +20 -0
- data/share/gccxml-0.9/GCC/2.95/memory +21 -0
- data/share/gccxml-0.9/GCC/2.95/new +13 -0
- data/share/gccxml-0.9/GCC/2.95/numeric +15 -0
- data/share/gccxml-0.9/GCC/2.95/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/2.95/queue +20 -0
- data/share/gccxml-0.9/GCC/2.95/set +20 -0
- data/share/gccxml-0.9/GCC/2.95/sstream +24 -0
- data/share/gccxml-0.9/GCC/2.95/stack +19 -0
- data/share/gccxml-0.9/GCC/2.95/std/bastring.cc +524 -0
- data/share/gccxml-0.9/GCC/2.95/std/complext.h +397 -0
- data/share/gccxml-0.9/GCC/2.95/std/dcomplex.h +92 -0
- data/share/gccxml-0.9/GCC/2.95/std/fcomplex.h +88 -0
- data/share/gccxml-0.9/GCC/2.95/std/gslice_array.h +170 -0
- data/share/gccxml-0.9/GCC/2.95/std/indirect_array.h +157 -0
- data/share/gccxml-0.9/GCC/2.95/std/ldcomplex.h +96 -0
- data/share/gccxml-0.9/GCC/2.95/std/mask_array.h +154 -0
- data/share/gccxml-0.9/GCC/2.95/std/slice_array.h +156 -0
- data/share/gccxml-0.9/GCC/2.95/std/std_valarray.h +728 -0
- data/share/gccxml-0.9/GCC/2.95/std/straits.h +162 -0
- data/share/gccxml-0.9/GCC/2.95/std/valarray_meta.h +1035 -0
- data/share/gccxml-0.9/GCC/2.95/stdexcept +17 -0
- data/share/gccxml-0.9/GCC/2.95/stl_alloc.h +1057 -0
- data/share/gccxml-0.9/GCC/2.95/stl_bvector.h +836 -0
- data/share/gccxml-0.9/GCC/2.95/stl_deque.h +1699 -0
- data/share/gccxml-0.9/GCC/2.95/stl_list.h +843 -0
- data/share/gccxml-0.9/GCC/2.95/stl_tree.h +1331 -0
- data/share/gccxml-0.9/GCC/2.95/stl_vector.h +828 -0
- data/share/gccxml-0.9/GCC/2.95/string +26 -0
- data/share/gccxml-0.9/GCC/2.95/strstream +23 -0
- data/share/gccxml-0.9/GCC/2.95/typeinfo +11 -0
- data/share/gccxml-0.9/GCC/2.95/utility +25 -0
- data/share/gccxml-0.9/GCC/2.95/valarray +52 -0
- data/share/gccxml-0.9/GCC/2.95/vector +19 -0
- data/share/gccxml-0.9/GCC/2.96/sstream +305 -0
- data/share/gccxml-0.9/GCC/3.0/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/3.1/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/3.2/bits/fstream.tcc +500 -0
- data/share/gccxml-0.9/GCC/3.2/bits/gthr-default.h +581 -0
- data/share/gccxml-0.9/GCC/3.2/bits/istream.tcc +1207 -0
- data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.h +1810 -0
- data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.tcc +2397 -0
- data/share/gccxml-0.9/GCC/3.2/bits/messages_members.h +108 -0
- data/share/gccxml-0.9/GCC/3.2/bits/ostream.tcc +713 -0
- data/share/gccxml-0.9/GCC/3.2/bits/sstream.tcc +241 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_deque.h +1682 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_list.h +989 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_tree.h +1462 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_vector.h +1085 -0
- data/share/gccxml-0.9/GCC/3.2/bits/valarray_meta.h +1063 -0
- data/share/gccxml-0.9/GCC/3.2/fstream +579 -0
- data/share/gccxml-0.9/GCC/3.2/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/3.2/sstream +384 -0
- data/share/gccxml-0.9/GCC/3.3/bits/fstream.tcc +530 -0
- data/share/gccxml-0.9/GCC/3.3/bits/list.tcc +378 -0
- data/share/gccxml-0.9/GCC/3.3/bits/locale_facets.h +2050 -0
- data/share/gccxml-0.9/GCC/3.3/bits/messages_members.h +108 -0
- data/share/gccxml-0.9/GCC/3.3/bits/sstream.tcc +243 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_deque.h +1603 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_list.h +1167 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_tree.h +1462 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_vector.h +992 -0
- data/share/gccxml-0.9/GCC/3.3/bits/valarray_meta.h +1135 -0
- data/share/gccxml-0.9/GCC/3.3/fstream +842 -0
- data/share/gccxml-0.9/GCC/3.3/gccxml_builtins.h +22 -0
- data/share/gccxml-0.9/GCC/3.3/sstream +638 -0
- data/share/gccxml-0.9/GCC/3.4/bits/gthr-default.h +664 -0
- data/share/gccxml-0.9/GCC/3.4/gccxml_builtins.h +91 -0
- data/share/gccxml-0.9/GCC/4.0/gccxml_builtins.h +128 -0
- data/share/gccxml-0.9/GCC/4.1/bits/gthr-default.h +618 -0
- data/share/gccxml-0.9/GCC/4.1/gccxml_builtins.h +131 -0
- data/share/gccxml-0.9/GCC/4.2/gccxml_builtins.h +131 -0
- data/share/gccxml-0.9/GCC/4.3/gccxml_builtins.h +182 -0
- data/share/gccxml-0.9/IBM/8.0/adapt_headers.sh +34 -0
- data/share/gccxml-0.9/IBM/8.0/stdlib.h.patch +27 -0
- data/share/gccxml-0.9/IBM/8.0/xstring.patch +19 -0
- data/share/gccxml-0.9/IBM/README +8 -0
- data/share/gccxml-0.9/IBM/find_flags +51 -0
- data/share/gccxml-0.9/IBM/find_flags_common +48 -0
- data/share/gccxml-0.9/Intel/find_flags +56 -0
- data/share/gccxml-0.9/Intel/pthread.h +16 -0
- data/share/gccxml-0.9/MIPSpro/7.3/exception +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/gccxml_mpro_internals.h +21 -0
- data/share/gccxml-0.9/MIPSpro/7.3/iomanip +161 -0
- data/share/gccxml-0.9/MIPSpro/7.3/ostream +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stddef.h +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_config.h +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_locale.h +17 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_monetary.h +14 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_numeric_facets.h +13 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_threads.h +11 -0
- data/share/gccxml-0.9/MIPSpro/7.3/string +18 -0
- data/share/gccxml-0.9/MIPSpro/find_flags +70 -0
- data/share/gccxml-0.9/MIPSpro/mipspro_defs.cxx +63 -0
- data/share/gccxml-0.9/Sun/5.8/Cstd.patch +156 -0
- data/share/gccxml-0.9/Sun/5.8/adapt_headers.sh +32 -0
- data/share/gccxml-0.9/Sun/5.8/std-5.10.patch +22 -0
- data/share/gccxml-0.9/Sun/README +8 -0
- data/share/gccxml-0.9/Sun/find_flags +51 -0
- data/share/gccxml-0.9/Sun/find_flags_common +42 -0
- data/share/gccxml-0.9/VcInstall/vc6Include.patch +4560 -0
- data/share/gccxml-0.9/VcInstall/vc71Include.patch +921 -0
- data/share/gccxml-0.9/VcInstall/vc71PlatformSDK.patch +146 -0
- data/share/gccxml-0.9/VcInstall/vc7Include.patch +1139 -0
- data/share/gccxml-0.9/VcInstall/vc7PlatformSDK.patch +146 -0
- data/share/gccxml-0.9/VcInstall/vc8ExpressInclude.patch +1887 -0
- data/share/gccxml-0.9/VcInstall/vc8ExpressPlatformSDK.patch +252 -0
- data/share/gccxml-0.9/VcInstall/vc8Include.patch +1887 -0
- data/share/gccxml-0.9/VcInstall/vc8PlatformSDK.patch +252 -0
- data/share/gccxml-0.9/VcInstall/vc8sp1ExpressInclude.patch +1941 -0
- data/share/gccxml-0.9/VcInstall/vc8sp1Include.patch +1970 -0
- data/share/gccxml-0.9/VcInstall/vc8sp1PlatformSDK.patch +252 -0
- data/share/gccxml-0.9/VcInstall/vc9Include.patch +2047 -0
- data/share/gccxml-0.9/VcInstall/vc9PlatformSDK.patch +383 -0
- data/share/gccxml-0.9/VcInstall/vc9sp1Include.patch +2565 -0
- data/share/gccxml-0.9/VcInstall/vcCat.exe +0 -0
- data/share/gccxml-0.9/VcInstall/vcCat.readme.txt +3 -0
- data/share/gccxml-0.9/VcInstall/vcPatch.exe +0 -0
- data/share/gccxml-0.9/VcInstall/vcPatch.readme.txt +27 -0
- data/share/gccxml-0.9/VcInstall/vc_helper +1 -0
- data/share/gccxml-0.9/gccxml_config +2 -0
- data/share/gccxml-0.9/gccxml_identify_compiler.cc +13 -0
- data/share/man/man1/gccxml.1 +246 -0
- metadata +331 -0
@@ -0,0 +1,1970 @@
|
|
1
|
+
Index: algorithm
|
2
|
+
===================================================================
|
3
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/algorithm,v
|
4
|
+
retrieving revision 1.1
|
5
|
+
retrieving revision 1.2
|
6
|
+
diff -c -3 -p -r1.1 -r1.2
|
7
|
+
*** algorithm 13 Feb 2007 15:03:08 -0000 1.1
|
8
|
+
--- algorithm 10 Oct 2007 14:52:29 -0000 1.2
|
9
|
+
***************
|
10
|
+
*** 11,16 ****
|
11
|
+
--- 11,51 ----
|
12
|
+
#pragma warning(disable: 4244)
|
13
|
+
#endif /* _MSC_VER */
|
14
|
+
|
15
|
+
+ /* ------------------------------------------------------------------------ */
|
16
|
+
+ /* Forward declare these now because they are used as non-dependent names. */
|
17
|
+
+ _STDEXT_BEGIN
|
18
|
+
+ template<class _InIt, class _OutIt, class _Ty>
|
19
|
+
+ inline _OutIt unchecked_remove_copy(_InIt _First, _InIt _Last,
|
20
|
+
+ _OutIt _Dest, const _Ty& _Val);
|
21
|
+
+ template<class _InIt, class _OutIt, class _Pr>
|
22
|
+
+ inline _OutIt unchecked_remove_copy_if(_InIt _First, _InIt _Last,
|
23
|
+
+ _OutIt _Dest, _Pr _Pred);
|
24
|
+
+ template<class _InIt1, class _InIt2, class _OutIt>
|
25
|
+
+ inline _OutIt unchecked_merge(_InIt1 _First1, _InIt1 _Last1,
|
26
|
+
+ _InIt2 _First2, _InIt2 _Last2, _OutIt _Dest);
|
27
|
+
+ template<class _InIt1, class _InIt2, class _OutIt, class _Pr>
|
28
|
+
+ inline _OutIt unchecked_merge(_InIt1 _First1, _InIt1 _Last1,
|
29
|
+
+ _InIt2 _First2, _InIt2 _Last2, _OutIt _Dest,
|
30
|
+
+ _Pr _Pred);
|
31
|
+
+ template<class _BidIt1, class _BidIt2, class _BidIt3>
|
32
|
+
+ inline _BidIt3 _Unchecked_merge_backward(_BidIt1 _First1, _BidIt1 _Last1,
|
33
|
+
+ _BidIt2 _First2, _BidIt2 _Last2,
|
34
|
+
+ _BidIt3 _Dest);
|
35
|
+
+ template<class _BidIt1, class _BidIt2, class _BidIt3, class _Pr>
|
36
|
+
+ inline _BidIt3 _Unchecked_merge_backward(_BidIt1 _First1, _BidIt1 _Last1,
|
37
|
+
+ _BidIt2 _First2, _BidIt2 _Last2,
|
38
|
+
+ _BidIt3 _Dest, _Pr _Pred);
|
39
|
+
+ template<class _BidIt, class _OutIt, class _Diff>
|
40
|
+
+ inline void _Unchecked_chunked_merge(_BidIt _First, _BidIt _Last,
|
41
|
+
+ _OutIt _Dest, _Diff _Chunk,
|
42
|
+
+ _Diff _Count);
|
43
|
+
+ template<class _BidIt, class _OutIt, class _Diff, class _Pr>
|
44
|
+
+ inline void _Unchecked_chunked_merge(_BidIt _First, _BidIt _Last,
|
45
|
+
+ _OutIt _Dest, _Diff _Chunk,
|
46
|
+
+ _Diff _Count, _Pr _Pred);
|
47
|
+
+ _STDEXT_END
|
48
|
+
+ /* ------------------------------------------------------------------------ */
|
49
|
+
+
|
50
|
+
_STD_BEGIN
|
51
|
+
|
52
|
+
// COMMON SORT PARAMETERS
|
53
|
+
Index: comdef.h
|
54
|
+
===================================================================
|
55
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/comdef.h,v
|
56
|
+
retrieving revision 1.1
|
57
|
+
retrieving revision 1.2
|
58
|
+
diff -c -3 -p -r1.1 -r1.2
|
59
|
+
*** comdef.h 13 Feb 2007 15:03:08 -0000 1.1
|
60
|
+
--- comdef.h 13 Feb 2007 16:09:18 -0000 1.2
|
61
|
+
*************** public:
|
62
|
+
*** 106,112 ****
|
63
|
+
DWORD HelpContext() const throw();
|
64
|
+
_bstr_t HelpFile() const ;
|
65
|
+
_bstr_t Source() const ;
|
66
|
+
! GUID GUID() const throw();
|
67
|
+
|
68
|
+
// FormatMessage accessors
|
69
|
+
//
|
70
|
+
--- 106,112 ----
|
71
|
+
DWORD HelpContext() const throw();
|
72
|
+
_bstr_t HelpFile() const ;
|
73
|
+
_bstr_t Source() const ;
|
74
|
+
! struct _GUID GUID() const throw();
|
75
|
+
|
76
|
+
// FormatMessage accessors
|
77
|
+
//
|
78
|
+
*************** inline _com_error& _com_error::operator=
|
79
|
+
*** 163,169 ****
|
80
|
+
{
|
81
|
+
if (this != &that) {
|
82
|
+
this->_com_error::~_com_error();
|
83
|
+
! this->_com_error::_com_error(that);
|
84
|
+
}
|
85
|
+
return *this;
|
86
|
+
}
|
87
|
+
--- 163,169 ----
|
88
|
+
{
|
89
|
+
if (this != &that) {
|
90
|
+
this->_com_error::~_com_error();
|
91
|
+
! new (this) _com_error(that);
|
92
|
+
}
|
93
|
+
return *this;
|
94
|
+
}
|
95
|
+
Index: comip.h
|
96
|
+
===================================================================
|
97
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/comip.h,v
|
98
|
+
retrieving revision 1.1
|
99
|
+
retrieving revision 1.2
|
100
|
+
diff -c -3 -p -r1.1 -r1.2
|
101
|
+
*** comip.h 13 Feb 2007 15:03:08 -0000 1.1
|
102
|
+
--- comip.h 13 Feb 2007 16:09:18 -0000 1.2
|
103
|
+
*************** public:
|
104
|
+
*** 101,114 ****
|
105
|
+
|
106
|
+
// Make sure correct ctor is called
|
107
|
+
//
|
108
|
+
! template<> _com_ptr_t(__in LPSTR str)
|
109
|
+
{
|
110
|
+
new(this) _com_ptr_t(static_cast<LPCSTR> (str), NULL);
|
111
|
+
}
|
112
|
+
|
113
|
+
// Make sure correct ctor is called
|
114
|
+
//
|
115
|
+
! template<> _com_ptr_t(__in LPWSTR str)
|
116
|
+
{
|
117
|
+
new(this) _com_ptr_t(static_cast<LPCWSTR> (str), NULL);
|
118
|
+
}
|
119
|
+
--- 101,114 ----
|
120
|
+
|
121
|
+
// Make sure correct ctor is called
|
122
|
+
//
|
123
|
+
! _com_ptr_t(__in LPSTR str)
|
124
|
+
{
|
125
|
+
new(this) _com_ptr_t(static_cast<LPCSTR> (str), NULL);
|
126
|
+
}
|
127
|
+
|
128
|
+
// Make sure correct ctor is called
|
129
|
+
//
|
130
|
+
! _com_ptr_t(__in LPWSTR str)
|
131
|
+
{
|
132
|
+
new(this) _com_ptr_t(static_cast<LPCWSTR> (str), NULL);
|
133
|
+
}
|
134
|
+
*************** public:
|
135
|
+
*** 116,122 ****
|
136
|
+
// Disable conversion using _com_ptr_t* specialization of
|
137
|
+
// template<typename _InterfaceType> _com_ptr_t(_InterfaceType* p)
|
138
|
+
//
|
139
|
+
! template<> explicit _com_ptr_t(_com_ptr_t* p)
|
140
|
+
: m_pInterface(NULL)
|
141
|
+
{
|
142
|
+
if (p == NULL) {
|
143
|
+
--- 116,122 ----
|
144
|
+
// Disable conversion using _com_ptr_t* specialization of
|
145
|
+
// template<typename _InterfaceType> _com_ptr_t(_InterfaceType* p)
|
146
|
+
//
|
147
|
+
! explicit _com_ptr_t(_com_ptr_t* p)
|
148
|
+
: m_pInterface(NULL)
|
149
|
+
{
|
150
|
+
if (p == NULL) {
|
151
|
+
*************** public:
|
152
|
+
*** 156,162 ****
|
153
|
+
|
154
|
+
// Saves the interface.
|
155
|
+
//
|
156
|
+
! template<> _com_ptr_t(Interface* pInterface) throw()
|
157
|
+
: m_pInterface(pInterface)
|
158
|
+
{
|
159
|
+
_AddRef();
|
160
|
+
--- 156,162 ----
|
161
|
+
|
162
|
+
// Saves the interface.
|
163
|
+
//
|
164
|
+
! _com_ptr_t(Interface* pInterface) throw()
|
165
|
+
: m_pInterface(pInterface)
|
166
|
+
{
|
167
|
+
_AddRef();
|
168
|
+
*************** public:
|
169
|
+
*** 251,257 ****
|
170
|
+
|
171
|
+
// Saves the interface.
|
172
|
+
//
|
173
|
+
! template<> _com_ptr_t& operator=(Interface* pInterface) throw()
|
174
|
+
{
|
175
|
+
if (m_pInterface != pInterface) {
|
176
|
+
Interface* pOldInterface = m_pInterface;
|
177
|
+
--- 251,257 ----
|
178
|
+
|
179
|
+
// Saves the interface.
|
180
|
+
//
|
181
|
+
! _com_ptr_t& operator=(Interface* pInterface) throw()
|
182
|
+
{
|
183
|
+
if (m_pInterface != pInterface) {
|
184
|
+
Interface* pOldInterface = m_pInterface;
|
185
|
+
*************** public:
|
186
|
+
*** 431,437 ****
|
187
|
+
|
188
|
+
// Compare with other interface
|
189
|
+
//
|
190
|
+
! template<> bool operator==(Interface* p)
|
191
|
+
{
|
192
|
+
return (m_pInterface == p)
|
193
|
+
? true
|
194
|
+
--- 431,437 ----
|
195
|
+
|
196
|
+
// Compare with other interface
|
197
|
+
//
|
198
|
+
! bool operator==(Interface* p)
|
199
|
+
{
|
200
|
+
return (m_pInterface == p)
|
201
|
+
? true
|
202
|
+
*************** public:
|
203
|
+
*** 440,453 ****
|
204
|
+
|
205
|
+
// Compare two smart pointers
|
206
|
+
//
|
207
|
+
! template<> bool operator==(const _com_ptr_t& p) throw()
|
208
|
+
{
|
209
|
+
return operator==(p.m_pInterface);
|
210
|
+
}
|
211
|
+
|
212
|
+
// Compare two smart pointers
|
213
|
+
//
|
214
|
+
! template<> bool operator==(_com_ptr_t& p) throw()
|
215
|
+
{
|
216
|
+
return operator==(p.m_pInterface);
|
217
|
+
}
|
218
|
+
--- 440,453 ----
|
219
|
+
|
220
|
+
// Compare two smart pointers
|
221
|
+
//
|
222
|
+
! bool operator==(const _com_ptr_t& p) throw()
|
223
|
+
{
|
224
|
+
return operator==(p.m_pInterface);
|
225
|
+
}
|
226
|
+
|
227
|
+
// Compare two smart pointers
|
228
|
+
//
|
229
|
+
! bool operator==(_com_ptr_t& p) throw()
|
230
|
+
{
|
231
|
+
return operator==(p.m_pInterface);
|
232
|
+
}
|
233
|
+
Index: comutil.h
|
234
|
+
===================================================================
|
235
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/comutil.h,v
|
236
|
+
retrieving revision 1.1
|
237
|
+
retrieving revision 1.2
|
238
|
+
diff -c -3 -p -r1.1 -r1.2
|
239
|
+
*** comutil.h 13 Feb 2007 15:03:08 -0000 1.1
|
240
|
+
--- comutil.h 13 Feb 2007 16:09:18 -0000 1.2
|
241
|
+
*************** class _variant_t;
|
242
|
+
*** 77,83 ****
|
243
|
+
//////////////////////////////////////////////////////////////////////////////
|
244
|
+
|
245
|
+
namespace _com_util {
|
246
|
+
! inline void CheckError(HRESULT hr) throw(...)
|
247
|
+
{
|
248
|
+
if (FAILED(hr)) {
|
249
|
+
_com_issue_error(hr);
|
250
|
+
--- 77,83 ----
|
251
|
+
//////////////////////////////////////////////////////////////////////////////
|
252
|
+
|
253
|
+
namespace _com_util {
|
254
|
+
! inline void CheckError(HRESULT hr)
|
255
|
+
{
|
256
|
+
if (FAILED(hr)) {
|
257
|
+
_com_issue_error(hr);
|
258
|
+
*************** inline void _bstr_t::Attach(BSTR s)
|
259
|
+
*** 572,578 ****
|
260
|
+
|
261
|
+
// Detach the internal BSTR
|
262
|
+
//
|
263
|
+
! inline BSTR _bstr_t::Detach()
|
264
|
+
{
|
265
|
+
_COM_ASSERT(m_Data != NULL && m_Data->RefCount() == 1);
|
266
|
+
|
267
|
+
--- 572,578 ----
|
268
|
+
|
269
|
+
// Detach the internal BSTR
|
270
|
+
//
|
271
|
+
! inline BSTR _bstr_t::Detach() throw()
|
272
|
+
{
|
273
|
+
_COM_ASSERT(m_Data != NULL && m_Data->RefCount() == 1);
|
274
|
+
|
275
|
+
Index: crtdbg.h
|
276
|
+
===================================================================
|
277
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/crtdbg.h,v
|
278
|
+
retrieving revision 1.1
|
279
|
+
retrieving revision 1.2
|
280
|
+
diff -c -3 -p -r1.1 -r1.2
|
281
|
+
*** crtdbg.h 13 Feb 2007 15:03:08 -0000 1.1
|
282
|
+
--- crtdbg.h 10 Oct 2007 14:52:53 -0000 1.2
|
283
|
+
*************** should not have done so since it was not
|
284
|
+
*** 589,594 ****
|
285
|
+
--- 589,595 ----
|
286
|
+
|
287
|
+
#if _MSC_VER >= 1300 && !defined(_CRT_PORTABLE)
|
288
|
+
#define _CrtDbgBreak() __debugbreak()
|
289
|
+
+ extern void __cdecl __debugbreak(void);
|
290
|
+
#elif defined(_M_IX86) && !defined(_CRT_PORTABLE)
|
291
|
+
#define _CrtDbgBreak() __asm { int 3 }
|
292
|
+
#elif defined(_M_IA64) && !defined(_CRT_PORTABLE)
|
293
|
+
Index: crtdefs.h
|
294
|
+
===================================================================
|
295
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/crtdefs.h,v
|
296
|
+
retrieving revision 1.1
|
297
|
+
retrieving revision 1.2
|
298
|
+
diff -c -3 -p -r1.1 -r1.2
|
299
|
+
*** crtdefs.h 13 Feb 2007 15:03:08 -0000 1.1
|
300
|
+
--- crtdefs.h 13 Feb 2007 16:09:18 -0000 1.2
|
301
|
+
*************** typedef __time64_t time_t; /* time
|
302
|
+
*** 664,762 ****
|
303
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(_ReturnType, _FuncName, _DstType, _Dst) \
|
304
|
+
extern "C++" \
|
305
|
+
{ \
|
306
|
+
! template <size_t _Size> \
|
307
|
+
inline \
|
308
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size]) \
|
309
|
+
{ \
|
310
|
+
! return _FuncName(_Dst, _Size); \
|
311
|
+
} \
|
312
|
+
}
|
313
|
+
|
314
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1) \
|
315
|
+
extern "C++" \
|
316
|
+
{ \
|
317
|
+
! template <size_t _Size> \
|
318
|
+
inline \
|
319
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1) \
|
320
|
+
{ \
|
321
|
+
! return _FuncName(_Dst, _Size, _TArg1); \
|
322
|
+
} \
|
323
|
+
}
|
324
|
+
|
325
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2) \
|
326
|
+
extern "C++" \
|
327
|
+
{ \
|
328
|
+
! template <size_t _Size> \
|
329
|
+
inline \
|
330
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2) \
|
331
|
+
{ \
|
332
|
+
! return _FuncName(_Dst, _Size, _TArg1, _TArg2); \
|
333
|
+
} \
|
334
|
+
}
|
335
|
+
|
336
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3) \
|
337
|
+
extern "C++" \
|
338
|
+
{ \
|
339
|
+
! template <size_t _Size> \
|
340
|
+
inline \
|
341
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
|
342
|
+
{ \
|
343
|
+
! return _FuncName(_Dst, _Size, _TArg1, _TArg2, _TArg3); \
|
344
|
+
} \
|
345
|
+
}
|
346
|
+
|
347
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_4(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3, _TType4, _TArg4) \
|
348
|
+
extern "C++" \
|
349
|
+
{ \
|
350
|
+
! template <size_t _Size> \
|
351
|
+
inline \
|
352
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3, _TType4 _TArg4) \
|
353
|
+
{ \
|
354
|
+
! return _FuncName(_Dst, _Size, _TArg1, _TArg2, _TArg3, _TArg4); \
|
355
|
+
} \
|
356
|
+
}
|
357
|
+
|
358
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1) \
|
359
|
+
extern "C++" \
|
360
|
+
{ \
|
361
|
+
! template <size_t _Size> \
|
362
|
+
inline \
|
363
|
+
! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Size], _TType1 _TArg1) \
|
364
|
+
{ \
|
365
|
+
! return _FuncName(_HArg1, _Dst, _Size, _TArg1); \
|
366
|
+
} \
|
367
|
+
}
|
368
|
+
|
369
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_2(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2) \
|
370
|
+
extern "C++" \
|
371
|
+
{ \
|
372
|
+
! template <size_t _Size> \
|
373
|
+
inline \
|
374
|
+
! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2) \
|
375
|
+
{ \
|
376
|
+
! return _FuncName(_HArg1, _Dst, _Size, _TArg1, _TArg2); \
|
377
|
+
} \
|
378
|
+
}
|
379
|
+
|
380
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3) \
|
381
|
+
extern "C++" \
|
382
|
+
{ \
|
383
|
+
! template <size_t _Size> \
|
384
|
+
inline \
|
385
|
+
! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
|
386
|
+
{ \
|
387
|
+
! return _FuncName(_HArg1, _Dst, _Size, _TArg1, _TArg2, _TArg3); \
|
388
|
+
} \
|
389
|
+
}
|
390
|
+
|
391
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_2_0(_ReturnType, _FuncName, _HType1, _HArg1, _HType2, _HArg2, _DstType, _Dst) \
|
392
|
+
extern "C++" \
|
393
|
+
{ \
|
394
|
+
! template <size_t _Size> \
|
395
|
+
inline \
|
396
|
+
! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _HType2 _HArg2, _DstType (&_Dst)[_Size]) \
|
397
|
+
{ \
|
398
|
+
! return _FuncName(_HArg1, _HArg2, _Dst, _Size); \
|
399
|
+
} \
|
400
|
+
}
|
401
|
+
|
402
|
+
--- 664,762 ----
|
403
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(_ReturnType, _FuncName, _DstType, _Dst) \
|
404
|
+
extern "C++" \
|
405
|
+
{ \
|
406
|
+
! template <size_t _Sz> \
|
407
|
+
inline \
|
408
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz]) \
|
409
|
+
{ \
|
410
|
+
! return _FuncName(_Dst, _Sz); \
|
411
|
+
} \
|
412
|
+
}
|
413
|
+
|
414
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1) \
|
415
|
+
extern "C++" \
|
416
|
+
{ \
|
417
|
+
! template <size_t _Sz> \
|
418
|
+
inline \
|
419
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1) \
|
420
|
+
{ \
|
421
|
+
! return _FuncName(_Dst, _Sz, _TArg1); \
|
422
|
+
} \
|
423
|
+
}
|
424
|
+
|
425
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2) \
|
426
|
+
extern "C++" \
|
427
|
+
{ \
|
428
|
+
! template <size_t _Sz> \
|
429
|
+
inline \
|
430
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2) \
|
431
|
+
{ \
|
432
|
+
! return _FuncName(_Dst, _Sz, _TArg1, _TArg2); \
|
433
|
+
} \
|
434
|
+
}
|
435
|
+
|
436
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3) \
|
437
|
+
extern "C++" \
|
438
|
+
{ \
|
439
|
+
! template <size_t _Sz> \
|
440
|
+
inline \
|
441
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
|
442
|
+
{ \
|
443
|
+
! return _FuncName(_Dst, _Sz, _TArg1, _TArg2, _TArg3); \
|
444
|
+
} \
|
445
|
+
}
|
446
|
+
|
447
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_4(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3, _TType4, _TArg4) \
|
448
|
+
extern "C++" \
|
449
|
+
{ \
|
450
|
+
! template <size_t _Sz> \
|
451
|
+
inline \
|
452
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3, _TType4 _TArg4) \
|
453
|
+
{ \
|
454
|
+
! return _FuncName(_Dst, _Sz, _TArg1, _TArg2, _TArg3, _TArg4); \
|
455
|
+
} \
|
456
|
+
}
|
457
|
+
|
458
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1) \
|
459
|
+
extern "C++" \
|
460
|
+
{ \
|
461
|
+
! template <size_t _Sz> \
|
462
|
+
inline \
|
463
|
+
! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Sz], _TType1 _TArg1) \
|
464
|
+
{ \
|
465
|
+
! return _FuncName(_HArg1, _Dst, _Sz, _TArg1); \
|
466
|
+
} \
|
467
|
+
}
|
468
|
+
|
469
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_2(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2) \
|
470
|
+
extern "C++" \
|
471
|
+
{ \
|
472
|
+
! template <size_t _Sz> \
|
473
|
+
inline \
|
474
|
+
! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2) \
|
475
|
+
{ \
|
476
|
+
! return _FuncName(_HArg1, _Dst, _Sz, _TArg1, _TArg2); \
|
477
|
+
} \
|
478
|
+
}
|
479
|
+
|
480
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3) \
|
481
|
+
extern "C++" \
|
482
|
+
{ \
|
483
|
+
! template <size_t _Sz> \
|
484
|
+
inline \
|
485
|
+
! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
|
486
|
+
{ \
|
487
|
+
! return _FuncName(_HArg1, _Dst, _Sz, _TArg1, _TArg2, _TArg3); \
|
488
|
+
} \
|
489
|
+
}
|
490
|
+
|
491
|
+
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_2_0(_ReturnType, _FuncName, _HType1, _HArg1, _HType2, _HArg2, _DstType, _Dst) \
|
492
|
+
extern "C++" \
|
493
|
+
{ \
|
494
|
+
! template <size_t _Sz> \
|
495
|
+
inline \
|
496
|
+
! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _HType2 _HArg2, _DstType (&_Dst)[_Sz]) \
|
497
|
+
{ \
|
498
|
+
! return _FuncName(_HArg1, _HArg2, _Dst, _Sz); \
|
499
|
+
} \
|
500
|
+
}
|
501
|
+
|
502
|
+
*************** typedef __time64_t time_t; /* time
|
503
|
+
*** 765,777 ****
|
504
|
+
{ \
|
505
|
+
__pragma(warning(push)); \
|
506
|
+
__pragma(warning(disable: 4793)); \
|
507
|
+
! template <size_t _Size> \
|
508
|
+
inline \
|
509
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, ...) \
|
510
|
+
{ \
|
511
|
+
va_list _ArgList; \
|
512
|
+
_crt_va_start(_ArgList, _TArg1); \
|
513
|
+
! return _VFuncName(_Dst, _Size, _TArg1, _ArgList); \
|
514
|
+
} \
|
515
|
+
__pragma(warning(pop)); \
|
516
|
+
}
|
517
|
+
--- 765,777 ----
|
518
|
+
{ \
|
519
|
+
__pragma(warning(push)); \
|
520
|
+
__pragma(warning(disable: 4793)); \
|
521
|
+
! template <size_t _Sz> \
|
522
|
+
inline \
|
523
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, ...) \
|
524
|
+
{ \
|
525
|
+
va_list _ArgList; \
|
526
|
+
_crt_va_start(_ArgList, _TArg1); \
|
527
|
+
! return _VFuncName(_Dst, _Sz, _TArg1, _ArgList); \
|
528
|
+
} \
|
529
|
+
__pragma(warning(pop)); \
|
530
|
+
}
|
531
|
+
*************** typedef __time64_t time_t; /* time
|
532
|
+
*** 781,793 ****
|
533
|
+
{ \
|
534
|
+
__pragma(warning(push)); \
|
535
|
+
__pragma(warning(disable: 4793)); \
|
536
|
+
! template <size_t _Size> \
|
537
|
+
inline \
|
538
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, ...) \
|
539
|
+
{ \
|
540
|
+
va_list _ArgList; \
|
541
|
+
_crt_va_start(_ArgList, _TArg2); \
|
542
|
+
! return _VFuncName(_Dst, _Size, _TArg1, _TArg2, _ArgList); \
|
543
|
+
} \
|
544
|
+
__pragma(warning(pop)); \
|
545
|
+
}
|
546
|
+
--- 781,793 ----
|
547
|
+
{ \
|
548
|
+
__pragma(warning(push)); \
|
549
|
+
__pragma(warning(disable: 4793)); \
|
550
|
+
! template <size_t _Sz> \
|
551
|
+
inline \
|
552
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, ...) \
|
553
|
+
{ \
|
554
|
+
va_list _ArgList; \
|
555
|
+
_crt_va_start(_ArgList, _TArg2); \
|
556
|
+
! return _VFuncName(_Dst, _Sz, _TArg1, _TArg2, _ArgList); \
|
557
|
+
} \
|
558
|
+
__pragma(warning(pop)); \
|
559
|
+
}
|
560
|
+
*************** typedef __time64_t time_t; /* time
|
561
|
+
*** 924,934 ****
|
562
|
+
{ \
|
563
|
+
return __insecure_##_FuncName(_Dst); \
|
564
|
+
} \
|
565
|
+
! template <size_t _Size> \
|
566
|
+
inline \
|
567
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size]) \
|
568
|
+
{ \
|
569
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Size), _Dst); \
|
570
|
+
} \
|
571
|
+
template <> \
|
572
|
+
inline \
|
573
|
+
--- 924,934 ----
|
574
|
+
{ \
|
575
|
+
return __insecure_##_FuncName(_Dst); \
|
576
|
+
} \
|
577
|
+
! template <size_t _Sz> \
|
578
|
+
inline \
|
579
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz]) \
|
580
|
+
{ \
|
581
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Sz), _Dst); \
|
582
|
+
} \
|
583
|
+
template <> \
|
584
|
+
inline \
|
585
|
+
*************** typedef __time64_t time_t; /* time
|
586
|
+
*** 969,980 ****
|
587
|
+
{ \
|
588
|
+
return __insecure_##_FuncName(_Dst); \
|
589
|
+
} \
|
590
|
+
! template <size_t _Size> \
|
591
|
+
inline \
|
592
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size]) \
|
593
|
+
{ \
|
594
|
+
size_t _SizeRead = 0; \
|
595
|
+
! errno_t _Err = _FuncName##_s(_Dst + 2, (_Size - 2) < ((size_t)_Dst[0]) ? (_Size - 2) : ((size_t)_Dst[0]), &_SizeRead); \
|
596
|
+
_Dst[1] = (_DstType)(_SizeRead); \
|
597
|
+
return (_Err == 0 ? _Dst + 2 : 0); \
|
598
|
+
} \
|
599
|
+
--- 969,980 ----
|
600
|
+
{ \
|
601
|
+
return __insecure_##_FuncName(_Dst); \
|
602
|
+
} \
|
603
|
+
! template <size_t _Sz> \
|
604
|
+
inline \
|
605
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz]) \
|
606
|
+
{ \
|
607
|
+
size_t _SizeRead = 0; \
|
608
|
+
! errno_t _Err = _FuncName##_s(_Dst + 2, (_Sz - 2) < ((size_t)_Dst[0]) ? (_Sz - 2) : ((size_t)_Dst[0]), &_SizeRead); \
|
609
|
+
_Dst[1] = (_DstType)(_SizeRead); \
|
610
|
+
return (_Err == 0 ? _Dst + 2 : 0); \
|
611
|
+
} \
|
612
|
+
*************** typedef __time64_t time_t; /* time
|
613
|
+
*** 1024,1034 ****
|
614
|
+
{ \
|
615
|
+
return __insecure_##_FuncName(_Dst, _TArg1); \
|
616
|
+
} \
|
617
|
+
! template <size_t _Size> \
|
618
|
+
inline \
|
619
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1) \
|
620
|
+
{ \
|
621
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1), _Dst); \
|
622
|
+
} \
|
623
|
+
template <> \
|
624
|
+
inline \
|
625
|
+
--- 1024,1034 ----
|
626
|
+
{ \
|
627
|
+
return __insecure_##_FuncName(_Dst, _TArg1); \
|
628
|
+
} \
|
629
|
+
! template <size_t _Sz> \
|
630
|
+
inline \
|
631
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1) \
|
632
|
+
{ \
|
633
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1), _Dst); \
|
634
|
+
} \
|
635
|
+
template <> \
|
636
|
+
inline \
|
637
|
+
*************** typedef __time64_t time_t; /* time
|
638
|
+
*** 1069,1079 ****
|
639
|
+
{ \
|
640
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2); \
|
641
|
+
} \
|
642
|
+
! template <size_t _Size> \
|
643
|
+
inline \
|
644
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2) \
|
645
|
+
{ \
|
646
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1, _TArg2), _Dst); \
|
647
|
+
} \
|
648
|
+
template <> \
|
649
|
+
inline \
|
650
|
+
--- 1069,1079 ----
|
651
|
+
{ \
|
652
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2); \
|
653
|
+
} \
|
654
|
+
! template <size_t _Sz> \
|
655
|
+
inline \
|
656
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2) \
|
657
|
+
{ \
|
658
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1, _TArg2), _Dst); \
|
659
|
+
} \
|
660
|
+
template <> \
|
661
|
+
inline \
|
662
|
+
*************** typedef __time64_t time_t; /* time
|
663
|
+
*** 1114,1124 ****
|
664
|
+
{ \
|
665
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3); \
|
666
|
+
} \
|
667
|
+
! template <size_t _Size> \
|
668
|
+
inline \
|
669
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
|
670
|
+
{ \
|
671
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1, _TArg2, _TArg3), _Dst); \
|
672
|
+
} \
|
673
|
+
template <> \
|
674
|
+
inline \
|
675
|
+
--- 1114,1124 ----
|
676
|
+
{ \
|
677
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3); \
|
678
|
+
} \
|
679
|
+
! template <size_t _Sz> \
|
680
|
+
inline \
|
681
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
|
682
|
+
{ \
|
683
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1, _TArg2, _TArg3), _Dst); \
|
684
|
+
} \
|
685
|
+
template <> \
|
686
|
+
inline \
|
687
|
+
*************** typedef __time64_t time_t; /* time
|
688
|
+
*** 1159,1169 ****
|
689
|
+
{ \
|
690
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3, _TArg4); \
|
691
|
+
} \
|
692
|
+
! template <size_t _Size> \
|
693
|
+
inline \
|
694
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3, _TType4 _TArg4) \
|
695
|
+
{ \
|
696
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1, _TArg2, _TArg3, _TArg4), _Dst); \
|
697
|
+
} \
|
698
|
+
template <> \
|
699
|
+
inline \
|
700
|
+
--- 1159,1169 ----
|
701
|
+
{ \
|
702
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3, _TArg4); \
|
703
|
+
} \
|
704
|
+
! template <size_t _Sz> \
|
705
|
+
inline \
|
706
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3, _TType4 _TArg4) \
|
707
|
+
{ \
|
708
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1, _TArg2, _TArg3, _TArg4), _Dst); \
|
709
|
+
} \
|
710
|
+
template <> \
|
711
|
+
inline \
|
712
|
+
*************** typedef __time64_t time_t; /* time
|
713
|
+
*** 1204,1214 ****
|
714
|
+
{ \
|
715
|
+
return __insecure_##_FuncName(_HArg1, _Dst, _TArg1); \
|
716
|
+
} \
|
717
|
+
! template <size_t _Size> \
|
718
|
+
inline \
|
719
|
+
! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Size], _TType1 _TArg1) \
|
720
|
+
{ \
|
721
|
+
! _ReturnPolicy(_SecureFuncName(_HArg1, _Dst, _Size, _TArg1), _Dst); \
|
722
|
+
} \
|
723
|
+
template <> \
|
724
|
+
inline \
|
725
|
+
--- 1204,1214 ----
|
726
|
+
{ \
|
727
|
+
return __insecure_##_FuncName(_HArg1, _Dst, _TArg1); \
|
728
|
+
} \
|
729
|
+
! template <size_t _Sz> \
|
730
|
+
inline \
|
731
|
+
! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Sz], _TType1 _TArg1) \
|
732
|
+
{ \
|
733
|
+
! _ReturnPolicy(_SecureFuncName(_HArg1, _Dst, _Sz, _TArg1), _Dst); \
|
734
|
+
} \
|
735
|
+
template <> \
|
736
|
+
inline \
|
737
|
+
*************** typedef __time64_t time_t; /* time
|
738
|
+
*** 1249,1259 ****
|
739
|
+
{ \
|
740
|
+
return __insecure_##_FuncName(_HArg1, _HArg2, _Dst); \
|
741
|
+
} \
|
742
|
+
! template <size_t _Size> \
|
743
|
+
inline \
|
744
|
+
! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _HType2 _HArg2, _DstType (&_Dst)[_Size]) \
|
745
|
+
{ \
|
746
|
+
! _ReturnPolicy(_SecureFuncName(_HArg1, _HArg2, _Dst, _Size), _Dst); \
|
747
|
+
} \
|
748
|
+
template <> \
|
749
|
+
inline \
|
750
|
+
--- 1249,1259 ----
|
751
|
+
{ \
|
752
|
+
return __insecure_##_FuncName(_HArg1, _HArg2, _Dst); \
|
753
|
+
} \
|
754
|
+
! template <size_t _Sz> \
|
755
|
+
inline \
|
756
|
+
! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _HType2 _HArg2, _DstType (&_Dst)[_Sz]) \
|
757
|
+
{ \
|
758
|
+
! _ReturnPolicy(_SecureFuncName(_HArg1, _HArg2, _Dst, _Sz), _Dst); \
|
759
|
+
} \
|
760
|
+
template <> \
|
761
|
+
inline \
|
762
|
+
*************** typedef __time64_t time_t; /* time
|
763
|
+
*** 1310,1322 ****
|
764
|
+
\
|
765
|
+
__pragma(warning(push)); \
|
766
|
+
__pragma(warning(disable: 4793)); \
|
767
|
+
! template <size_t _Size> \
|
768
|
+
inline \
|
769
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, ...) \
|
770
|
+
{ \
|
771
|
+
va_list _ArgList; \
|
772
|
+
_crt_va_start(_ArgList, _TArg1); \
|
773
|
+
! _ReturnPolicy(_SecureVFuncName(_Dst, _Size, _TArg1, _ArgList), _Dst); \
|
774
|
+
} \
|
775
|
+
__pragma(warning(pop)); \
|
776
|
+
\
|
777
|
+
--- 1310,1322 ----
|
778
|
+
\
|
779
|
+
__pragma(warning(push)); \
|
780
|
+
__pragma(warning(disable: 4793)); \
|
781
|
+
! template <size_t _Sz> \
|
782
|
+
inline \
|
783
|
+
! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, ...) \
|
784
|
+
{ \
|
785
|
+
va_list _ArgList; \
|
786
|
+
_crt_va_start(_ArgList, _TArg1); \
|
787
|
+
! _ReturnPolicy(_SecureVFuncName(_Dst, _Sz, _TArg1, _ArgList), _Dst); \
|
788
|
+
} \
|
789
|
+
__pragma(warning(pop)); \
|
790
|
+
\
|
791
|
+
*************** typedef __time64_t time_t; /* time
|
792
|
+
*** 1354,1364 ****
|
793
|
+
{ \
|
794
|
+
return __insecure_##_VFuncName(_Dst, _TArg1, _ArgList); \
|
795
|
+
} \
|
796
|
+
! template <size_t _Size> \
|
797
|
+
inline \
|
798
|
+
! _ReturnType __CRTDECL _VFuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, va_list _ArgList) \
|
799
|
+
{ \
|
800
|
+
! _ReturnPolicy(_SecureVFuncName(_Dst, _Size, _TArg1, _ArgList), _Dst); \
|
801
|
+
} \
|
802
|
+
template <> \
|
803
|
+
inline \
|
804
|
+
--- 1354,1364 ----
|
805
|
+
{ \
|
806
|
+
return __insecure_##_VFuncName(_Dst, _TArg1, _ArgList); \
|
807
|
+
} \
|
808
|
+
! template <size_t _Sz> \
|
809
|
+
inline \
|
810
|
+
! _ReturnType __CRTDECL _VFuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, va_list _ArgList) \
|
811
|
+
{ \
|
812
|
+
! _ReturnPolicy(_SecureVFuncName(_Dst, _Sz, _TArg1, _ArgList), _Dst); \
|
813
|
+
} \
|
814
|
+
template <> \
|
815
|
+
inline \
|
816
|
+
*************** typedef __time64_t time_t; /* time
|
817
|
+
*** 1415,1427 ****
|
818
|
+
\
|
819
|
+
__pragma(warning(push)); \
|
820
|
+
__pragma(warning(disable: 4793)); \
|
821
|
+
! template <size_t _Size> \
|
822
|
+
inline \
|
823
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, ...) \
|
824
|
+
{ \
|
825
|
+
va_list _ArgList; \
|
826
|
+
_crt_va_start(_ArgList, _TArg2); \
|
827
|
+
! _ReturnPolicy(_SecureVFuncName(_Dst, _Size, _TArg1, _TArg2, _ArgList), _Dst); \
|
828
|
+
} \
|
829
|
+
__pragma(warning(pop)); \
|
830
|
+
\
|
831
|
+
--- 1415,1427 ----
|
832
|
+
\
|
833
|
+
__pragma(warning(push)); \
|
834
|
+
__pragma(warning(disable: 4793)); \
|
835
|
+
! template <size_t _Sz> \
|
836
|
+
inline \
|
837
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, ...) \
|
838
|
+
{ \
|
839
|
+
va_list _ArgList; \
|
840
|
+
_crt_va_start(_ArgList, _TArg2); \
|
841
|
+
! _ReturnPolicy(_SecureVFuncName(_Dst, _Sz, _TArg1, _TArg2, _ArgList), _Dst); \
|
842
|
+
} \
|
843
|
+
__pragma(warning(pop)); \
|
844
|
+
\
|
845
|
+
*************** typedef __time64_t time_t; /* time
|
846
|
+
*** 1459,1469 ****
|
847
|
+
{ \
|
848
|
+
return __insecure_##_VFuncName(_Dst, _TArg1, _TArg2, _ArgList); \
|
849
|
+
} \
|
850
|
+
! template <size_t _Size> \
|
851
|
+
inline \
|
852
|
+
! _ReturnType __CRTDECL _VFuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, va_list _ArgList) \
|
853
|
+
{ \
|
854
|
+
! _ReturnPolicy(_SecureVFuncName(_Dst, _Size, _TArg1, _TArg2, _ArgList), _Dst); \
|
855
|
+
} \
|
856
|
+
template <> \
|
857
|
+
inline \
|
858
|
+
--- 1459,1469 ----
|
859
|
+
{ \
|
860
|
+
return __insecure_##_VFuncName(_Dst, _TArg1, _TArg2, _ArgList); \
|
861
|
+
} \
|
862
|
+
! template <size_t _Sz> \
|
863
|
+
inline \
|
864
|
+
! _ReturnType __CRTDECL _VFuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, va_list _ArgList) \
|
865
|
+
{ \
|
866
|
+
! _ReturnPolicy(_SecureVFuncName(_Dst, _Sz, _TArg1, _TArg2, _ArgList), _Dst); \
|
867
|
+
} \
|
868
|
+
template <> \
|
869
|
+
inline \
|
870
|
+
*************** typedef __time64_t time_t; /* time
|
871
|
+
*** 1504,1515 ****
|
872
|
+
{ \
|
873
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2); \
|
874
|
+
} \
|
875
|
+
! template <size_t _Size> \
|
876
|
+
inline \
|
877
|
+
! size_t __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2) \
|
878
|
+
{ \
|
879
|
+
size_t _Ret = 0; \
|
880
|
+
! _SecureFuncName(&_Ret, _Dst, _Size, _TArg1, _TArg2); \
|
881
|
+
return (_Ret > 0 ? (_Ret - 1) : _Ret); \
|
882
|
+
} \
|
883
|
+
template <> \
|
884
|
+
--- 1504,1515 ----
|
885
|
+
{ \
|
886
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2); \
|
887
|
+
} \
|
888
|
+
! template <size_t _Sz> \
|
889
|
+
inline \
|
890
|
+
! size_t __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2) \
|
891
|
+
{ \
|
892
|
+
size_t _Ret = 0; \
|
893
|
+
! _SecureFuncName(&_Ret, _Dst, _Sz, _TArg1, _TArg2); \
|
894
|
+
return (_Ret > 0 ? (_Ret - 1) : _Ret); \
|
895
|
+
} \
|
896
|
+
template <> \
|
897
|
+
*************** typedef __time64_t time_t; /* time
|
898
|
+
*** 1553,1564 ****
|
899
|
+
{ \
|
900
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3); \
|
901
|
+
} \
|
902
|
+
! template <size_t _Size> \
|
903
|
+
inline \
|
904
|
+
! size_t __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
|
905
|
+
{ \
|
906
|
+
size_t _Ret = 0; \
|
907
|
+
! _SecureFuncName(&_Ret, _Dst, _Size, _TArg1, _TArg2, _TArg3); \
|
908
|
+
return (_Ret > 0 ? (_Ret - 1) : _Ret); \
|
909
|
+
} \
|
910
|
+
template <> \
|
911
|
+
--- 1553,1564 ----
|
912
|
+
{ \
|
913
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3); \
|
914
|
+
} \
|
915
|
+
! template <size_t _Sz> \
|
916
|
+
inline \
|
917
|
+
! size_t __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
|
918
|
+
{ \
|
919
|
+
size_t _Ret = 0; \
|
920
|
+
! _SecureFuncName(&_Ret, _Dst, _Sz, _TArg1, _TArg2, _TArg3); \
|
921
|
+
return (_Ret > 0 ? (_Ret - 1) : _Ret); \
|
922
|
+
} \
|
923
|
+
template <> \
|
924
|
+
*************** typedef __time64_t time_t; /* time
|
925
|
+
*** 1600,1610 ****
|
926
|
+
{ \
|
927
|
+
return __insecure_##_FuncName(_Dst); \
|
928
|
+
} \
|
929
|
+
! template <size_t _Size> \
|
930
|
+
inline \
|
931
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size]) \
|
932
|
+
{ \
|
933
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Size), _Dst); \
|
934
|
+
} \
|
935
|
+
template <> \
|
936
|
+
inline \
|
937
|
+
--- 1600,1610 ----
|
938
|
+
{ \
|
939
|
+
return __insecure_##_FuncName(_Dst); \
|
940
|
+
} \
|
941
|
+
! template <size_t _Sz> \
|
942
|
+
inline \
|
943
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz]) \
|
944
|
+
{ \
|
945
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Sz), _Dst); \
|
946
|
+
} \
|
947
|
+
template <> \
|
948
|
+
inline \
|
949
|
+
*************** typedef __time64_t time_t; /* time
|
950
|
+
*** 1643,1653 ****
|
951
|
+
{ \
|
952
|
+
return __insecure_##_FuncName(_Dst, _TArg1); \
|
953
|
+
} \
|
954
|
+
! template <size_t _Size> \
|
955
|
+
inline \
|
956
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1) \
|
957
|
+
{ \
|
958
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1), _Dst); \
|
959
|
+
} \
|
960
|
+
template <> \
|
961
|
+
inline \
|
962
|
+
--- 1643,1653 ----
|
963
|
+
{ \
|
964
|
+
return __insecure_##_FuncName(_Dst, _TArg1); \
|
965
|
+
} \
|
966
|
+
! template <size_t _Sz> \
|
967
|
+
inline \
|
968
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1) \
|
969
|
+
{ \
|
970
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1), _Dst); \
|
971
|
+
} \
|
972
|
+
template <> \
|
973
|
+
inline \
|
974
|
+
*************** typedef __time64_t time_t; /* time
|
975
|
+
*** 1686,1696 ****
|
976
|
+
{ \
|
977
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2); \
|
978
|
+
} \
|
979
|
+
! template <size_t _Size> \
|
980
|
+
inline \
|
981
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2) \
|
982
|
+
{ \
|
983
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1, _TArg2), _Dst); \
|
984
|
+
} \
|
985
|
+
template <> \
|
986
|
+
inline \
|
987
|
+
--- 1686,1696 ----
|
988
|
+
{ \
|
989
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2); \
|
990
|
+
} \
|
991
|
+
! template <size_t _Sz> \
|
992
|
+
inline \
|
993
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2) \
|
994
|
+
{ \
|
995
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1, _TArg2), _Dst); \
|
996
|
+
} \
|
997
|
+
template <> \
|
998
|
+
inline \
|
999
|
+
*************** typedef __time64_t time_t; /* time
|
1000
|
+
*** 1729,1739 ****
|
1001
|
+
{ \
|
1002
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3); \
|
1003
|
+
} \
|
1004
|
+
! template <size_t _Size> \
|
1005
|
+
inline \
|
1006
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
|
1007
|
+
{ \
|
1008
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1, _TArg2, _TArg3), _Dst); \
|
1009
|
+
} \
|
1010
|
+
template <> \
|
1011
|
+
inline \
|
1012
|
+
--- 1729,1739 ----
|
1013
|
+
{ \
|
1014
|
+
return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3); \
|
1015
|
+
} \
|
1016
|
+
! template <size_t _Sz> \
|
1017
|
+
inline \
|
1018
|
+
! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
|
1019
|
+
{ \
|
1020
|
+
! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1, _TArg2, _TArg3), _Dst); \
|
1021
|
+
} \
|
1022
|
+
template <> \
|
1023
|
+
inline \
|
1024
|
+
Index: deque
|
1025
|
+
===================================================================
|
1026
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/deque,v
|
1027
|
+
retrieving revision 1.1
|
1028
|
+
retrieving revision 1.2
|
1029
|
+
diff -c -3 -p -r1.1 -r1.2
|
1030
|
+
*** deque 13 Feb 2007 15:03:08 -0000 1.1
|
1031
|
+
--- deque 13 Feb 2007 16:09:18 -0000 1.2
|
1032
|
+
*************** public:
|
1033
|
+
*** 47,54 ****
|
1034
|
+
_Deque_const_iterator<_Ty, _Alloc, false>,
|
1035
|
+
_Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
|
1036
|
+
|
1037
|
+
! friend _Deque_const_iterator<_Ty, _Alloc, false>;
|
1038
|
+
! friend _Deque_const_iterator<_Ty, _Alloc, true>;
|
1039
|
+
|
1040
|
+
_Deque_const_iterator<_Ty, _Alloc, false> _Checked_iterator_base() const
|
1041
|
+
{
|
1042
|
+
--- 47,53 ----
|
1043
|
+
_Deque_const_iterator<_Ty, _Alloc, false>,
|
1044
|
+
_Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
|
1045
|
+
|
1046
|
+
! friend class _Deque_const_iterator<_Ty, _Alloc, !_SECURE_VALIDATION>;
|
1047
|
+
|
1048
|
+
_Deque_const_iterator<_Ty, _Alloc, false> _Checked_iterator_base() const
|
1049
|
+
{
|
1050
|
+
*************** public:
|
1051
|
+
*** 339,346 ****
|
1052
|
+
_Deque_iterator<_Ty, _Alloc, false>,
|
1053
|
+
_Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
|
1054
|
+
|
1055
|
+
! friend _Deque_iterator<_Ty, _Alloc, false>;
|
1056
|
+
! friend _Deque_iterator<_Ty, _Alloc, true>;
|
1057
|
+
|
1058
|
+
_Deque_iterator<_Ty, _Alloc, false> _Checked_iterator_base() const
|
1059
|
+
{
|
1060
|
+
--- 338,344 ----
|
1061
|
+
_Deque_iterator<_Ty, _Alloc, false>,
|
1062
|
+
_Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
|
1063
|
+
|
1064
|
+
! friend class _Deque_iterator<_Ty, _Alloc, !_SECURE_VALIDATION>;
|
1065
|
+
|
1066
|
+
_Deque_iterator<_Ty, _Alloc, false> _Checked_iterator_base() const
|
1067
|
+
{
|
1068
|
+
Index: eh.h
|
1069
|
+
===================================================================
|
1070
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/eh.h,v
|
1071
|
+
retrieving revision 1.1
|
1072
|
+
retrieving revision 1.2
|
1073
|
+
diff -c -3 -p -r1.1 -r1.2
|
1074
|
+
*** eh.h 13 Feb 2007 15:03:08 -0000 1.1
|
1075
|
+
--- eh.h 13 Feb 2007 16:09:18 -0000 1.2
|
1076
|
+
*************** typedef void (__cdecl *_se_translator_fu
|
1077
|
+
*** 58,63 ****
|
1078
|
+
--- 58,65 ----
|
1079
|
+
_CRTIMP __declspec(noreturn) void __cdecl terminate(void);
|
1080
|
+
_CRTIMP void __cdecl unexpected(void);
|
1081
|
+
|
1082
|
+
+ namespace std {class type_info;}
|
1083
|
+
+ using std::type_info;
|
1084
|
+
_CRTIMP int __cdecl _is_exception_typeof(__in const type_info &_Type, __in struct _EXCEPTION_POINTERS * _ExceptionPtr);
|
1085
|
+
|
1086
|
+
#ifndef _M_CEE_PURE
|
1087
|
+
Index: functional
|
1088
|
+
===================================================================
|
1089
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/functional,v
|
1090
|
+
retrieving revision 1.1
|
1091
|
+
retrieving revision 1.2
|
1092
|
+
diff -c -3 -p -r1.1 -r1.2
|
1093
|
+
*** functional 13 Feb 2007 15:03:08 -0000 1.1
|
1094
|
+
--- functional 13 Feb 2007 16:09:18 -0000 1.2
|
1095
|
+
*************** template<class _Arg,
|
1096
|
+
*** 403,419 ****
|
1097
|
+
return (std::pointer_to_unary_function<_Arg, _Result, _Result (__stdcall *)(_Arg)>(_Left));
|
1098
|
+
}
|
1099
|
+
|
1100
|
+
- #ifndef _M_CEE
|
1101
|
+
- template<class _Arg,
|
1102
|
+
- class _Result> inline
|
1103
|
+
- pointer_to_unary_function<_Arg, _Result,
|
1104
|
+
- _Result (__fastcall *)(_Arg)>
|
1105
|
+
- ptr_fun(_Result (__fastcall *_Left)(_Arg))
|
1106
|
+
- { // return pointer_to_unary_function functor adapter
|
1107
|
+
- return (std::pointer_to_unary_function<_Arg, _Result, _Result (__fastcall *)(_Arg)>(_Left));
|
1108
|
+
- }
|
1109
|
+
-
|
1110
|
+
- #endif
|
1111
|
+
#endif
|
1112
|
+
|
1113
|
+
#ifdef _M_CEE
|
1114
|
+
--- 403,408 ----
|
1115
|
+
*************** template<class _Arg1,
|
1116
|
+
*** 448,467 ****
|
1117
|
+
_Result (__stdcall *)(_Arg1, _Arg2)>(_Left));
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
- #ifndef _M_CEE
|
1121
|
+
-
|
1122
|
+
- template<class _Arg1,
|
1123
|
+
- class _Arg2,
|
1124
|
+
- class _Result> inline
|
1125
|
+
- pointer_to_binary_function<_Arg1, _Arg2, _Result,
|
1126
|
+
- _Result(__fastcall *)(_Arg1, _Arg2)>
|
1127
|
+
- ptr_fun(_Result (__fastcall *_Left)(_Arg1, _Arg2))
|
1128
|
+
- { // return pointer_to_binary_function functor adapter
|
1129
|
+
- return (std::pointer_to_binary_function<_Arg1, _Arg2, _Result,
|
1130
|
+
- _Result (__fastcall *)(_Arg1, _Arg2)>(_Left));
|
1131
|
+
- }
|
1132
|
+
-
|
1133
|
+
- #endif
|
1134
|
+
#endif
|
1135
|
+
|
1136
|
+
#ifdef _M_CEE
|
1137
|
+
--- 437,442 ----
|
1138
|
+
Index: iosfwd
|
1139
|
+
===================================================================
|
1140
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/iosfwd,v
|
1141
|
+
retrieving revision 1.1
|
1142
|
+
retrieving revision 1.2
|
1143
|
+
diff -c -3 -p -r1.1 -r1.2
|
1144
|
+
*** iosfwd 13 Feb 2007 15:03:08 -0000 1.1
|
1145
|
+
--- iosfwd 8 Oct 2007 21:29:22 -0000 1.2
|
1146
|
+
*************** struct _Secure_char_traits_tag
|
1147
|
+
*** 138,143 ****
|
1148
|
+
--- 138,185 ----
|
1149
|
+
{
|
1150
|
+
};
|
1151
|
+
|
1152
|
+
+ /* ------------------------------------------------------------------------ */
|
1153
|
+
+ /* Forward declare these now because they are used as non-dependent names. */
|
1154
|
+
+ namespace _Traits_helper
|
1155
|
+
+ {
|
1156
|
+
+ // TEMPLATE FUNCTION _Traits_helper::copy_s
|
1157
|
+
+ template<class _Traits>
|
1158
|
+
+ inline
|
1159
|
+
+ typename _Traits::char_type *copy_s(typename _Traits::char_type *_First1, size_t _Size,
|
1160
|
+
+ const typename _Traits::char_type *_First2, size_t _Count);
|
1161
|
+
+
|
1162
|
+
+ template<class _Traits>
|
1163
|
+
+ inline
|
1164
|
+
+ typename _Traits::char_type *copy_s(typename _Traits::char_type *_First1, size_t _Size,
|
1165
|
+
+ const typename _Traits::char_type *_First2, size_t _Count, _Secure_char_traits_tag);
|
1166
|
+
+
|
1167
|
+
+ // If _SECURE_SCL is turned on, the user will get a deprecation warning when calling an unsecure _Traits::copy
|
1168
|
+
+ template<class _Traits>
|
1169
|
+
+ inline
|
1170
|
+
+ _SCL_INSECURE_DEPRECATE
|
1171
|
+
+ typename _Traits::char_type *copy_s(typename _Traits::char_type *_First1, size_t _Size,
|
1172
|
+
+ const typename _Traits::char_type *_First2, size_t _Count, _Unsecure_char_traits_tag);
|
1173
|
+
+
|
1174
|
+
+ // TEMPLATE FUNCTION _Traits_helper::move_s
|
1175
|
+
+ template<class _Traits>
|
1176
|
+
+ inline
|
1177
|
+
+ typename _Traits::char_type *move_s(typename _Traits::char_type *_First1, size_t _Size,
|
1178
|
+
+ const typename _Traits::char_type *_First2, size_t _Count);
|
1179
|
+
+
|
1180
|
+
+ template<class _Traits>
|
1181
|
+
+ inline
|
1182
|
+
+ typename _Traits::char_type *move_s(typename _Traits::char_type *_First1, size_t _Size,
|
1183
|
+
+ const typename _Traits::char_type *_First2, size_t _Count, _Secure_char_traits_tag);
|
1184
|
+
+
|
1185
|
+
+ // If _SECURE_SCL is turned on, the user will get a deprecation warning when calling an unsecure _Traits::copy
|
1186
|
+
+ template<class _Traits>
|
1187
|
+
+ inline
|
1188
|
+
+ _SCL_INSECURE_DEPRECATE
|
1189
|
+
+ typename _Traits::char_type *move_s(typename _Traits::char_type *_First1, size_t _Size,
|
1190
|
+
+ const typename _Traits::char_type *_First2, size_t _Count, _Unsecure_char_traits_tag);
|
1191
|
+
+ } // namespace _Traits_helper
|
1192
|
+
+ /* ------------------------------------------------------------------------ */
|
1193
|
+
+
|
1194
|
+
// TEMPLATE STRUCT _Char_traits_base
|
1195
|
+
// Used to define the Secure_char_traits tag. This typedef is used
|
1196
|
+
// only for user defined char_traits. A user defined char_traits should
|
1197
|
+
Index: iostream
|
1198
|
+
===================================================================
|
1199
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/iostream,v
|
1200
|
+
retrieving revision 1.1
|
1201
|
+
retrieving revision 1.2
|
1202
|
+
diff -c -3 -p -r1.1 -r1.2
|
1203
|
+
*** iostream 13 Feb 2007 15:03:08 -0000 1.1
|
1204
|
+
--- iostream 13 Feb 2007 16:09:18 -0000 1.2
|
1205
|
+
*************** __PURE_APPDOMAIN_GLOBAL extern _CRTDATA2
|
1206
|
+
*** 23,30 ****
|
1207
|
+
// CLASS _Winit
|
1208
|
+
class _CRTIMP2_PURE _Winit {
|
1209
|
+
public:
|
1210
|
+
! __thiscall _Winit();
|
1211
|
+
! __thiscall ~_Winit();
|
1212
|
+
private:
|
1213
|
+
__PURE_APPDOMAIN_GLOBAL static int _Init_cnt;
|
1214
|
+
};
|
1215
|
+
--- 23,30 ----
|
1216
|
+
// CLASS _Winit
|
1217
|
+
class _CRTIMP2_PURE _Winit {
|
1218
|
+
public:
|
1219
|
+
! _Winit();
|
1220
|
+
! ~_Winit();
|
1221
|
+
private:
|
1222
|
+
__PURE_APPDOMAIN_GLOBAL static int _Init_cnt;
|
1223
|
+
};
|
1224
|
+
Index: iso646.h
|
1225
|
+
===================================================================
|
1226
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/iso646.h,v
|
1227
|
+
retrieving revision 1.1
|
1228
|
+
retrieving revision 1.2
|
1229
|
+
diff -c -3 -p -r1.1 -r1.2
|
1230
|
+
*** iso646.h 13 Feb 2007 15:03:08 -0000 1.1
|
1231
|
+
--- iso646.h 13 Feb 2007 16:09:18 -0000 1.2
|
1232
|
+
***************
|
1233
|
+
*** 3,9 ****
|
1234
|
+
#ifndef _ISO646
|
1235
|
+
#define _ISO646
|
1236
|
+
|
1237
|
+
! #if !defined(__cplusplus) || defined(_MSC_EXTENSIONS)
|
1238
|
+
#define and &&
|
1239
|
+
#define and_eq &=
|
1240
|
+
#define bitand &
|
1241
|
+
--- 3,9 ----
|
1242
|
+
#ifndef _ISO646
|
1243
|
+
#define _ISO646
|
1244
|
+
|
1245
|
+
! #if 0 && (!defined(__cplusplus) || defined(_MSC_EXTENSIONS))
|
1246
|
+
#define and &&
|
1247
|
+
#define and_eq &=
|
1248
|
+
#define bitand &
|
1249
|
+
Index: iterator
|
1250
|
+
===================================================================
|
1251
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/iterator,v
|
1252
|
+
retrieving revision 1.1
|
1253
|
+
retrieving revision 1.2
|
1254
|
+
diff -c -3 -p -r1.1 -r1.2
|
1255
|
+
*** iterator 13 Feb 2007 15:03:08 -0000 1.1
|
1256
|
+
--- iterator 13 Feb 2007 16:09:18 -0000 1.2
|
1257
|
+
*************** template <class _Cont, class _Iter = typ
|
1258
|
+
*** 361,367 ****
|
1259
|
+
typename _STD iterator_traits<_Iter>::pointer,
|
1260
|
+
typename _STD iterator_traits<_Iter>::reference>
|
1261
|
+
{
|
1262
|
+
! friend class checked_iterator;
|
1263
|
+
public:
|
1264
|
+
typedef checked_iterator<_Cont, _Iter> _Myt;
|
1265
|
+
typedef typename _STD iterator_traits<_Iter>::difference_type difference_type;
|
1266
|
+
--- 361,367 ----
|
1267
|
+
typename _STD iterator_traits<_Iter>::pointer,
|
1268
|
+
typename _STD iterator_traits<_Iter>::reference>
|
1269
|
+
{
|
1270
|
+
! //friend class checked_iterator;
|
1271
|
+
public:
|
1272
|
+
typedef checked_iterator<_Cont, _Iter> _Myt;
|
1273
|
+
typedef typename _STD iterator_traits<_Iter>::difference_type difference_type;
|
1274
|
+
Index: limits
|
1275
|
+
===================================================================
|
1276
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/limits,v
|
1277
|
+
retrieving revision 1.1
|
1278
|
+
retrieving revision 1.2
|
1279
|
+
diff -c -3 -p -r1.1 -r1.2
|
1280
|
+
*** limits 13 Feb 2007 15:03:08 -0000 1.1
|
1281
|
+
--- limits 10 Oct 2007 14:53:14 -0000 1.2
|
1282
|
+
*************** _STCONSDEF(_Num_base, int, min_exponent)
|
1283
|
+
*** 93,110 ****
|
1284
|
+
_STCONSDEF(_Num_base, int, min_exponent10)
|
1285
|
+
_STCONSDEF(_Num_base, int, radix)
|
1286
|
+
|
1287
|
+
// TEMPLATE CLASS numeric_limits
|
1288
|
+
template<class _Ty>
|
1289
|
+
class numeric_limits
|
1290
|
+
: public _Num_base
|
1291
|
+
{ // numeric limits for arbitrary type _Ty (say little or nothing)
|
1292
|
+
public:
|
1293
|
+
! static _Ty (__CRTDECL min)() _THROW0()
|
1294
|
+
{ // return minimum value
|
1295
|
+
return (_Ty(0));
|
1296
|
+
}
|
1297
|
+
|
1298
|
+
! static _Ty (__CRTDECL max)() _THROW0()
|
1299
|
+
{ // return maximum value
|
1300
|
+
return (_Ty(0));
|
1301
|
+
}
|
1302
|
+
--- 93,111 ----
|
1303
|
+
_STCONSDEF(_Num_base, int, min_exponent10)
|
1304
|
+
_STCONSDEF(_Num_base, int, radix)
|
1305
|
+
|
1306
|
+
+ #define __GCCXML_AVOID_MACRO_EXPANSION
|
1307
|
+
// TEMPLATE CLASS numeric_limits
|
1308
|
+
template<class _Ty>
|
1309
|
+
class numeric_limits
|
1310
|
+
: public _Num_base
|
1311
|
+
{ // numeric limits for arbitrary type _Ty (say little or nothing)
|
1312
|
+
public:
|
1313
|
+
! static _Ty __CRTDECL min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
|
1314
|
+
{ // return minimum value
|
1315
|
+
return (_Ty(0));
|
1316
|
+
}
|
1317
|
+
|
1318
|
+
! static _Ty __CRTDECL max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
|
1319
|
+
{ // return maximum value
|
1320
|
+
return (_Ty(0));
|
1321
|
+
}
|
1322
|
+
Index: list
|
1323
|
+
===================================================================
|
1324
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/list,v
|
1325
|
+
retrieving revision 1.1
|
1326
|
+
retrieving revision 1.2
|
1327
|
+
diff -c -3 -p -r1.1 -r1.2
|
1328
|
+
*** list 13 Feb 2007 15:03:08 -0000 1.1
|
1329
|
+
--- list 13 Feb 2007 16:09:18 -0000 1.2
|
1330
|
+
*************** public:
|
1331
|
+
*** 187,194 ****
|
1332
|
+
_Const_iterator<false>,
|
1333
|
+
_Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
|
1334
|
+
|
1335
|
+
! friend _Const_iterator<false>;
|
1336
|
+
! friend _Const_iterator<true>;
|
1337
|
+
|
1338
|
+
_Const_iterator<false> _Checked_iterator_base() const
|
1339
|
+
{
|
1340
|
+
--- 187,193 ----
|
1341
|
+
_Const_iterator<false>,
|
1342
|
+
_Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
|
1343
|
+
|
1344
|
+
! friend class _Const_iterator<!_SECURE_VALIDATION>;
|
1345
|
+
|
1346
|
+
_Const_iterator<false> _Checked_iterator_base() const
|
1347
|
+
{
|
1348
|
+
*************** public:
|
1349
|
+
*** 367,374 ****
|
1350
|
+
_Iterator<false>,
|
1351
|
+
_Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
|
1352
|
+
|
1353
|
+
! friend _Iterator<false>;
|
1354
|
+
! friend _Iterator<true>;
|
1355
|
+
|
1356
|
+
_Iterator<false> _Checked_iterator_base() const
|
1357
|
+
{
|
1358
|
+
--- 366,372 ----
|
1359
|
+
_Iterator<false>,
|
1360
|
+
_Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
|
1361
|
+
|
1362
|
+
! friend class _Iterator<!_SECURE_VALIDATION>;
|
1363
|
+
|
1364
|
+
_Iterator<false> _Checked_iterator_base() const
|
1365
|
+
{
|
1366
|
+
Index: math.h
|
1367
|
+
===================================================================
|
1368
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/math.h,v
|
1369
|
+
retrieving revision 1.1
|
1370
|
+
retrieving revision 1.2
|
1371
|
+
diff -c -3 -p -r1.1 -r1.2
|
1372
|
+
*** math.h 13 Feb 2007 15:03:08 -0000 1.1
|
1373
|
+
--- math.h 13 Feb 2007 16:09:18 -0000 1.2
|
1374
|
+
*************** _CRTIMP __checkReturn double __cdecl at
|
1375
|
+
*** 132,138 ****
|
1376
|
+
_CRTIMP __checkReturn double __cdecl _atof_l(__in_z const char *_String, __in_opt _locale_t _Locale);
|
1377
|
+
#endif
|
1378
|
+
|
1379
|
+
! _CRTIMP double __cdecl _cabs(__in struct _complex _Complex);
|
1380
|
+
_CRTIMP double __cdecl ceil(__in double _X);
|
1381
|
+
_CRTIMP double __cdecl floor(__in double _X);
|
1382
|
+
_CRTIMP double __cdecl frexp(__in double _X, __out int * _Y);
|
1383
|
+
--- 132,138 ----
|
1384
|
+
_CRTIMP __checkReturn double __cdecl _atof_l(__in_z const char *_String, __in_opt _locale_t _Locale);
|
1385
|
+
#endif
|
1386
|
+
|
1387
|
+
! _CRTIMP double __cdecl _cabs(__in struct _complex _C);
|
1388
|
+
_CRTIMP double __cdecl ceil(__in double _X);
|
1389
|
+
_CRTIMP double __cdecl floor(__in double _X);
|
1390
|
+
_CRTIMP double __cdecl frexp(__in double _X, __out int * _Y);
|
1391
|
+
Index: memory
|
1392
|
+
===================================================================
|
1393
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/memory,v
|
1394
|
+
retrieving revision 1.1
|
1395
|
+
retrieving revision 1.3
|
1396
|
+
diff -c -3 -p -r1.1 -r1.3
|
1397
|
+
*** memory 13 Feb 2007 15:03:08 -0000 1.1
|
1398
|
+
--- memory 8 Oct 2007 21:40:49 -0000 1.3
|
1399
|
+
***************
|
1400
|
+
*** 11,16 ****
|
1401
|
+
--- 11,26 ----
|
1402
|
+
#pragma warning(push,3)
|
1403
|
+
#endif /* _MSC_VER */
|
1404
|
+
|
1405
|
+
+ /* ------------------------------------------------------------------------ */
|
1406
|
+
+ /* Forward declare these now because they are used as non-dependent names. */
|
1407
|
+
+ _STDEXT_BEGIN
|
1408
|
+
+ template<class _InIt, class _FwdIt>
|
1409
|
+
+ inline _FwdIt unchecked_uninitialized_copy(_InIt _First, _InIt _Last, _FwdIt _Dest);
|
1410
|
+
+ template<class _InIt, class _FwdIt, class _Alloc>
|
1411
|
+
+ inline _FwdIt unchecked_uninitialized_copy(_InIt _First, _InIt _Last, _FwdIt _Dest, _Alloc& _Al);
|
1412
|
+
+ _STDEXT_END
|
1413
|
+
+ /* ------------------------------------------------------------------------ */
|
1414
|
+
+
|
1415
|
+
_STD_BEGIN
|
1416
|
+
|
1417
|
+
// TEMPLATE FUNCTION get_temporary_buffer
|
1418
|
+
Index: process.h
|
1419
|
+
===================================================================
|
1420
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/process.h,v
|
1421
|
+
retrieving revision 1.1
|
1422
|
+
retrieving revision 1.2
|
1423
|
+
diff -c -3 -p -r1.1 -r1.2
|
1424
|
+
*** process.h 13 Feb 2007 15:03:08 -0000 1.1
|
1425
|
+
--- process.h 13 Feb 2007 16:09:18 -0000 1.2
|
1426
|
+
*************** extern uintptr_t __security_cookie;
|
1427
|
+
*** 162,168 ****
|
1428
|
+
|
1429
|
+
_CRT_OBSOLETE(LoadLibrary) intptr_t __cdecl _loaddll(__in_z char * _Filename);
|
1430
|
+
_CRT_OBSOLETE(FreeLibrary) int __cdecl _unloaddll(__in intptr_t _Handle);
|
1431
|
+
! _CRT_OBSOLETE(GetProcAddress) int (__cdecl * __cdecl _getdllprocaddr(__in intptr_t _Handle, __in_z_opt char * _ProcedureName, __in intptr_t _Ordinal))(void);
|
1432
|
+
|
1433
|
+
/* --------- The preceding functions are OBSOLETE --------- */
|
1434
|
+
|
1435
|
+
--- 162,169 ----
|
1436
|
+
|
1437
|
+
_CRT_OBSOLETE(LoadLibrary) intptr_t __cdecl _loaddll(__in_z char * _Filename);
|
1438
|
+
_CRT_OBSOLETE(FreeLibrary) int __cdecl _unloaddll(__in intptr_t _Handle);
|
1439
|
+
! typedef int (__cdecl * _getdllprocaddr_type)();
|
1440
|
+
! _CRT_OBSOLETE(GetProcAddress) _getdllprocaddr_type __cdecl _getdllprocaddr(__in intptr_t _Handle, __in_z_opt char * _ProcedureName, __in intptr_t _Ordinal);
|
1441
|
+
|
1442
|
+
/* --------- The preceding functions are OBSOLETE --------- */
|
1443
|
+
|
1444
|
+
Index: setjmp.h
|
1445
|
+
===================================================================
|
1446
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/setjmp.h,v
|
1447
|
+
retrieving revision 1.1
|
1448
|
+
retrieving revision 1.2
|
1449
|
+
diff -c -3 -p -r1.1 -r1.2
|
1450
|
+
*** setjmp.h 13 Feb 2007 15:03:08 -0000 1.1
|
1451
|
+
--- setjmp.h 13 Feb 2007 16:09:18 -0000 1.2
|
1452
|
+
*************** int __cdecl setjmp(__out jmp_buf _Buf);
|
1453
|
+
*** 253,259 ****
|
1454
|
+
#ifdef __cplusplus
|
1455
|
+
extern "C"
|
1456
|
+
{
|
1457
|
+
! _CRTIMP __declspec(noreturn) void __cdecl longjmp(__in jmp_buf _Buf, __in int _Value) throw(...);
|
1458
|
+
}
|
1459
|
+
#else
|
1460
|
+
_CRTIMP __declspec(noreturn) void __cdecl longjmp(__in jmp_buf _Buf, __in int _Value);
|
1461
|
+
--- 253,259 ----
|
1462
|
+
#ifdef __cplusplus
|
1463
|
+
extern "C"
|
1464
|
+
{
|
1465
|
+
! _CRTIMP __declspec(noreturn) void __cdecl longjmp(__in jmp_buf _Buf, __in int _Value);
|
1466
|
+
}
|
1467
|
+
#else
|
1468
|
+
_CRTIMP __declspec(noreturn) void __cdecl longjmp(__in jmp_buf _Buf, __in int _Value);
|
1469
|
+
Index: signal.h
|
1470
|
+
===================================================================
|
1471
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/signal.h,v
|
1472
|
+
retrieving revision 1.1
|
1473
|
+
retrieving revision 1.2
|
1474
|
+
diff -c -3 -p -r1.1 -r1.2
|
1475
|
+
*** signal.h 13 Feb 2007 15:03:08 -0000 1.1
|
1476
|
+
--- signal.h 13 Feb 2007 16:09:18 -0000 1.2
|
1477
|
+
*************** extern void * _pxcptinfoptrs;
|
1478
|
+
*** 88,94 ****
|
1479
|
+
/* Function prototypes */
|
1480
|
+
|
1481
|
+
#ifndef _M_CEE_PURE
|
1482
|
+
! _CRTIMP void (__cdecl * __cdecl signal(__in int _SigNum, __in_opt void (__cdecl * _Func)(int)))(int);
|
1483
|
+
#endif
|
1484
|
+
|
1485
|
+
_CRTIMP int __cdecl raise(__in int _SigNum);
|
1486
|
+
--- 88,95 ----
|
1487
|
+
/* Function prototypes */
|
1488
|
+
|
1489
|
+
#ifndef _M_CEE_PURE
|
1490
|
+
! typedef void (__cdecl * __signal_handler_t)(int);
|
1491
|
+
! _CRTIMP __signal_handler_t __cdecl signal(__in int _SigNum, __in_opt __signal_handler_t);
|
1492
|
+
#endif
|
1493
|
+
|
1494
|
+
_CRTIMP int __cdecl raise(__in int _SigNum);
|
1495
|
+
Index: stddef.h
|
1496
|
+
===================================================================
|
1497
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/stddef.h,v
|
1498
|
+
retrieving revision 1.1
|
1499
|
+
retrieving revision 1.2
|
1500
|
+
diff -c -3 -p -r1.1 -r1.2
|
1501
|
+
*** stddef.h 13 Feb 2007 15:03:08 -0000 1.1
|
1502
|
+
--- stddef.h 9 Jan 2009 13:47:14 -0000 1.2
|
1503
|
+
*************** errno_t __cdecl _get_errno(__out int * _
|
1504
|
+
*** 46,51 ****
|
1505
|
+
--- 46,53 ----
|
1506
|
+
#endif
|
1507
|
+
|
1508
|
+
/* Define offsetof macro */
|
1509
|
+
+ #define offsetof(s,m) ((size_t)__builtin_offsetof(s,m))
|
1510
|
+
+ #if 0 /* replaced for gccxml */
|
1511
|
+
#ifdef __cplusplus
|
1512
|
+
|
1513
|
+
#ifdef _WIN64
|
1514
|
+
*************** errno_t __cdecl _get_errno(__out int * _
|
1515
|
+
*** 63,68 ****
|
1516
|
+
--- 65,71 ----
|
1517
|
+
#endif
|
1518
|
+
|
1519
|
+
#endif /* __cplusplus */
|
1520
|
+
+ #endif /* 0 */
|
1521
|
+
|
1522
|
+
#ifdef _MT
|
1523
|
+
_CRTIMP extern unsigned long __cdecl __threadid(void);
|
1524
|
+
Index: typeinfo
|
1525
|
+
===================================================================
|
1526
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/typeinfo,v
|
1527
|
+
retrieving revision 1.1
|
1528
|
+
retrieving revision 1.2
|
1529
|
+
diff -c -3 -p -r1.1 -r1.2
|
1530
|
+
*** typeinfo 13 Feb 2007 15:03:08 -0000 1.1
|
1531
|
+
--- typeinfo 13 Feb 2007 16:09:18 -0000 1.2
|
1532
|
+
*************** struct __type_info_node {
|
1533
|
+
*** 40,45 ****
|
1534
|
+
--- 40,46 ----
|
1535
|
+
|
1536
|
+
extern __type_info_node __type_info_root_node;
|
1537
|
+
|
1538
|
+
+ namespace std {
|
1539
|
+
class type_info {
|
1540
|
+
public:
|
1541
|
+
virtual ~type_info();
|
1542
|
+
*************** private:
|
1543
|
+
*** 56,61 ****
|
1544
|
+
--- 57,64 ----
|
1545
|
+
_CRTIMP_PURE static const char *__CLRCALL_OR_CDECL _Name_base(const type_info *,__type_info_node* __ptype_info_node);
|
1546
|
+
_CRTIMP_PURE static void __CLRCALL_OR_CDECL _Type_info_dtor(type_info *);
|
1547
|
+
};
|
1548
|
+
+ }
|
1549
|
+
+ using std::type_info;
|
1550
|
+
|
1551
|
+
#if _HAS_EXCEPTIONS
|
1552
|
+
|
1553
|
+
Index: vector
|
1554
|
+
===================================================================
|
1555
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/vector,v
|
1556
|
+
retrieving revision 1.1
|
1557
|
+
retrieving revision 1.3
|
1558
|
+
diff -c -3 -p -r1.1 -r1.3
|
1559
|
+
*** vector 13 Feb 2007 15:03:08 -0000 1.1
|
1560
|
+
--- vector 10 Oct 2007 14:53:35 -0000 1.3
|
1561
|
+
*************** public:
|
1562
|
+
*** 1402,1408 ****
|
1563
|
+
|
1564
|
+
typename _MycontTy::size_type _My_actual_offset() const
|
1565
|
+
{
|
1566
|
+
! _MycontTy::size_type _Off = this->_Myoff;
|
1567
|
+
_Off += _VBITS * (this->_Myptr - _My_cont_begin());
|
1568
|
+
return _Off;
|
1569
|
+
}
|
1570
|
+
--- 1402,1408 ----
|
1571
|
+
|
1572
|
+
typename _MycontTy::size_type _My_actual_offset() const
|
1573
|
+
{
|
1574
|
+
! typename _MycontTy::size_type _Off = this->_Myoff;
|
1575
|
+
_Off += _VBITS * (this->_Myptr - _My_cont_begin());
|
1576
|
+
return _Off;
|
1577
|
+
}
|
1578
|
+
*************** public:
|
1579
|
+
*** 2169,2175 ****
|
1580
|
+
|
1581
|
+
void flip()
|
1582
|
+
{ // toggle all elements
|
1583
|
+
! for (_Vbtype::iterator _Next = _Myvec.begin();
|
1584
|
+
_Next != _Myvec.end(); ++_Next)
|
1585
|
+
*_Next = (_Vbase)~*_Next;
|
1586
|
+
_Trim(_Mysize);
|
1587
|
+
--- 2169,2175 ----
|
1588
|
+
|
1589
|
+
void flip()
|
1590
|
+
{ // toggle all elements
|
1591
|
+
! for (typename _Vbtype::iterator _Next = _Myvec.begin();
|
1592
|
+
_Next != _Myvec.end(); ++_Next)
|
1593
|
+
*_Next = (_Vbase)~*_Next;
|
1594
|
+
_Trim(_Mysize);
|
1595
|
+
Index: xdebug
|
1596
|
+
===================================================================
|
1597
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/xdebug,v
|
1598
|
+
retrieving revision 1.1
|
1599
|
+
retrieving revision 1.2
|
1600
|
+
diff -c -3 -p -r1.1 -r1.2
|
1601
|
+
*** xdebug 13 Feb 2007 15:03:08 -0000 1.1
|
1602
|
+
--- xdebug 10 Oct 2007 14:54:01 -0000 1.2
|
1603
|
+
*************** template<class _Ty>
|
1604
|
+
*** 55,61 ****
|
1605
|
+
--- 55,63 ----
|
1606
|
+
{ // delete from the debug CRT heap even if operator delete exists
|
1607
|
+
if (_Ptr != 0)
|
1608
|
+
{ // worth deleting
|
1609
|
+
+ #if 0
|
1610
|
+
_Ptr->~_Ty();
|
1611
|
+
+ #endif
|
1612
|
+
// delete as _NORMAL_BLOCK, not _CRT_BLOCK, since we might have
|
1613
|
+
// facets allocated by normal new.
|
1614
|
+
free(_Ptr);
|
1615
|
+
*************** public:
|
1616
|
+
*** 72,78 ****
|
1617
|
+
template<class _Other>
|
1618
|
+
struct rebind
|
1619
|
+
{ // convert _DebugHeapAllocator<_Ty> to _DebugHeapAllocator<_Other>
|
1620
|
+
! typedef typename _DebugHeapAllocator<_Other> other;
|
1621
|
+
};
|
1622
|
+
|
1623
|
+
typename allocator<_Ty>::pointer __CLRCALL_OR_CDECL allocate(typename allocator<_Ty>::size_type _Count, const void *)
|
1624
|
+
--- 74,80 ----
|
1625
|
+
template<class _Other>
|
1626
|
+
struct rebind
|
1627
|
+
{ // convert _DebugHeapAllocator<_Ty> to _DebugHeapAllocator<_Other>
|
1628
|
+
! typedef _DebugHeapAllocator<_Other> other;
|
1629
|
+
};
|
1630
|
+
|
1631
|
+
typename allocator<_Ty>::pointer __CLRCALL_OR_CDECL allocate(typename allocator<_Ty>::size_type _Count, const void *)
|
1632
|
+
Index: xhash
|
1633
|
+
===================================================================
|
1634
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/xhash,v
|
1635
|
+
retrieving revision 1.1
|
1636
|
+
retrieving revision 1.2
|
1637
|
+
diff -c -3 -p -r1.1 -r1.2
|
1638
|
+
*** xhash 13 Feb 2007 15:03:08 -0000 1.1
|
1639
|
+
--- xhash 10 Oct 2007 14:54:24 -0000 1.2
|
1640
|
+
*************** public:
|
1641
|
+
*** 231,237 ****
|
1642
|
+
}
|
1643
|
+
|
1644
|
+
protected:
|
1645
|
+
! typename _Mylist::_Iterator<0> _Mypos;
|
1646
|
+
};
|
1647
|
+
|
1648
|
+
typedef _List_position _Myvec_value_type;
|
1649
|
+
--- 231,237 ----
|
1650
|
+
}
|
1651
|
+
|
1652
|
+
protected:
|
1653
|
+
! typename _Mylist::template _Iterator<0>::_Iterator _Mypos;
|
1654
|
+
};
|
1655
|
+
|
1656
|
+
typedef _List_position _Myvec_value_type;
|
1657
|
+
Index: xlocale
|
1658
|
+
===================================================================
|
1659
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/xlocale,v
|
1660
|
+
retrieving revision 1.1
|
1661
|
+
retrieving revision 1.2
|
1662
|
+
diff -c -3 -p -r1.1 -r1.2
|
1663
|
+
*** xlocale 13 Feb 2007 15:03:08 -0000 1.1
|
1664
|
+
--- xlocale 13 Feb 2007 16:09:18 -0000 1.2
|
1665
|
+
*************** template<class _Dummy>
|
1666
|
+
*** 54,59 ****
|
1667
|
+
--- 54,61 ----
|
1668
|
+
class locale;
|
1669
|
+
template<class _Facet>
|
1670
|
+
const _Facet& __CRTDECL use_facet(const locale&);
|
1671
|
+
+ template<class _Elem>
|
1672
|
+
+ class collate;
|
1673
|
+
|
1674
|
+
// warning 4412 is benign here
|
1675
|
+
#pragma warning(push)
|
1676
|
+
Index: xstddef
|
1677
|
+
===================================================================
|
1678
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/xstddef,v
|
1679
|
+
retrieving revision 1.1
|
1680
|
+
retrieving revision 1.2
|
1681
|
+
diff -c -3 -p -r1.1 -r1.2
|
1682
|
+
*** xstddef 13 Feb 2007 15:03:08 -0000 1.1
|
1683
|
+
--- xstddef 13 Feb 2007 16:09:18 -0000 1.2
|
1684
|
+
*************** _STD_BEGIN
|
1685
|
+
*** 28,34 ****
|
1686
|
+
#define _RERAISE throw
|
1687
|
+
|
1688
|
+
#define _THROW0() throw ()
|
1689
|
+
! #define _THROW1(x) throw (...)
|
1690
|
+
|
1691
|
+
#define _THROW(x, y) throw x(y)
|
1692
|
+
#define _THROW_NCEE(x, y) _THROW(x, y)
|
1693
|
+
--- 28,34 ----
|
1694
|
+
#define _RERAISE throw
|
1695
|
+
|
1696
|
+
#define _THROW0() throw ()
|
1697
|
+
! #define _THROW1(x) throw (x)
|
1698
|
+
|
1699
|
+
#define _THROW(x, y) throw x(y)
|
1700
|
+
#define _THROW_NCEE(x, y) _THROW(x, y)
|
1701
|
+
Index: xutility
|
1702
|
+
===================================================================
|
1703
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/xutility,v
|
1704
|
+
retrieving revision 1.1
|
1705
|
+
retrieving revision 1.5
|
1706
|
+
diff -c -3 -p -r1.1 -r1.5
|
1707
|
+
*** xutility 13 Feb 2007 15:03:08 -0000 1.1
|
1708
|
+
--- xutility 10 Oct 2007 14:54:53 -0000 1.5
|
1709
|
+
***************
|
1710
|
+
*** 12,19 ****
|
1711
|
+
--- 12,48 ----
|
1712
|
+
#pragma warning(push,3)
|
1713
|
+
#endif /* _MSC_VER */
|
1714
|
+
|
1715
|
+
+ /* GCC-XML simulation of MSVC builtin __is_base_of. */
|
1716
|
+
+ #define __is_base_of(base, derived) \
|
1717
|
+
+ __gccxml_is_base_of< base , derived >::value
|
1718
|
+
+ template <class _Base, class _Derived>
|
1719
|
+
+ struct __gccxml_is_base_of
|
1720
|
+
+ {
|
1721
|
+
+ typedef char(&yes_type)[1];
|
1722
|
+
+ typedef char(&no_type)[2];
|
1723
|
+
+ static yes_type check(_Base*);
|
1724
|
+
+ static no_type check(const volatile void*);
|
1725
|
+
+ static _Derived* derived();
|
1726
|
+
+ static const bool value = sizeof(check(derived())) == sizeof(yes_type);
|
1727
|
+
+ };
|
1728
|
+
+
|
1729
|
+
+ /* ------------------------------------------------------------------------ */
|
1730
|
+
+ /* Forward declare these now because they are used as non-dependent names. */
|
1731
|
+
+ _STDEXT_BEGIN
|
1732
|
+
+ template <class _Iterator> class checked_array_iterator;
|
1733
|
+
+ template <class _Iter>
|
1734
|
+
+ checked_array_iterator<_Iter> make_checked_array_iterator(_Iter _Ptr, size_t _Size);
|
1735
|
+
+ _STDEXT_END
|
1736
|
+
+ /* ------------------------------------------------------------------------ */
|
1737
|
+
+
|
1738
|
+
_STD_BEGIN
|
1739
|
+
|
1740
|
+
+ /* ------------------------------------------------------------------------ */
|
1741
|
+
+ /* Forward declare these now because they are used as non-dependent names. */
|
1742
|
+
+ class out_of_range;
|
1743
|
+
+ class invalid_argument;
|
1744
|
+
+ /* ------------------------------------------------------------------------ */
|
1745
|
+
+
|
1746
|
+
// RANGE CHECKED ITERATOR TAGS
|
1747
|
+
struct _Unchecked_iterator_tag
|
1748
|
+
{
|
1749
|
+
*************** template<class _Iter1, class _Iter2> inl
|
1750
|
+
*** 838,845 ****
|
1751
|
+
__CLRCALL_OR_CDECL _Iter_random(const _Iter1&, const _Iter2&)
|
1752
|
+
{ // return category from iterator argument
|
1753
|
+
typename _Iter_random_helper<
|
1754
|
+
! iterator_traits<_Iter1>::iterator_category,
|
1755
|
+
! iterator_traits<_Iter2>::iterator_category>::_Iter_random_cat _Cat;
|
1756
|
+
return (_Cat);
|
1757
|
+
}
|
1758
|
+
|
1759
|
+
--- 867,874 ----
|
1760
|
+
__CLRCALL_OR_CDECL _Iter_random(const _Iter1&, const _Iter2&)
|
1761
|
+
{ // return category from iterator argument
|
1762
|
+
typename _Iter_random_helper<
|
1763
|
+
! typename iterator_traits<_Iter1>::iterator_category,
|
1764
|
+
! typename iterator_traits<_Iter2>::iterator_category>::_Iter_random_cat _Cat;
|
1765
|
+
return (_Cat);
|
1766
|
+
}
|
1767
|
+
|
1768
|
+
*************** template<class _Iter1, class _Iter2, cla
|
1769
|
+
*** 851,859 ****
|
1770
|
+
__CLRCALL_OR_CDECL _Iter_random(const _Iter1&, const _Iter2&, const _Iter3&)
|
1771
|
+
{ // return category from iterator argument
|
1772
|
+
typename _Iter_random_helper3<
|
1773
|
+
! iterator_traits<_Iter1>::iterator_category,
|
1774
|
+
! iterator_traits<_Iter2>::iterator_category,
|
1775
|
+
! iterator_traits<_Iter3>::iterator_category>::_Iter_random_cat _Cat;
|
1776
|
+
return (_Cat);
|
1777
|
+
}
|
1778
|
+
|
1779
|
+
--- 880,888 ----
|
1780
|
+
__CLRCALL_OR_CDECL _Iter_random(const _Iter1&, const _Iter2&, const _Iter3&)
|
1781
|
+
{ // return category from iterator argument
|
1782
|
+
typename _Iter_random_helper3<
|
1783
|
+
! typename iterator_traits<_Iter1>::iterator_category,
|
1784
|
+
! typename iterator_traits<_Iter2>::iterator_category,
|
1785
|
+
! typename iterator_traits<_Iter3>::iterator_category>::_Iter_random_cat _Cat;
|
1786
|
+
return (_Cat);
|
1787
|
+
}
|
1788
|
+
|
1789
|
+
*************** public:
|
1790
|
+
*** 1743,1749 ****
|
1791
|
+
|
1792
|
+
_Checked_iterator_base_type _Checked_iterator_base() const
|
1793
|
+
{
|
1794
|
+
! typename _Checked_iterator_base_type _Base(_CHECKED_BASE(current));
|
1795
|
+
return _Base;
|
1796
|
+
}
|
1797
|
+
|
1798
|
+
--- 1772,1778 ----
|
1799
|
+
|
1800
|
+
_Checked_iterator_base_type _Checked_iterator_base() const
|
1801
|
+
{
|
1802
|
+
! _Checked_iterator_base_type _Base(_CHECKED_BASE(current));
|
1803
|
+
return _Base;
|
1804
|
+
}
|
1805
|
+
|
1806
|
+
*************** _STDEXT_END
|
1807
|
+
*** 3730,3736 ****
|
1808
|
+
#define _STR2WSTR(str) __STR2WSTR(str)
|
1809
|
+
|
1810
|
+
#define __FILEW__ _STR2WSTR(__FILE__)
|
1811
|
+
! #define __FUNCTIONW__ _STR2WSTR(__FUNCTION__)
|
1812
|
+
|
1813
|
+
#if !defined(_W64)
|
1814
|
+
#if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300
|
1815
|
+
--- 3759,3765 ----
|
1816
|
+
#define _STR2WSTR(str) __STR2WSTR(str)
|
1817
|
+
|
1818
|
+
#define __FILEW__ _STR2WSTR(__FILE__)
|
1819
|
+
! #define __FUNCTIONW__ L"<GCCXML-DISABLED>"
|
1820
|
+
|
1821
|
+
#if !defined(_W64)
|
1822
|
+
#if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300
|
1823
|
+
Index: yvals.h
|
1824
|
+
===================================================================
|
1825
|
+
RCS file: /cvsroot/GxInclude/Vc8sp1/Include/yvals.h,v
|
1826
|
+
retrieving revision 1.1
|
1827
|
+
retrieving revision 1.4
|
1828
|
+
diff -c -3 -p -r1.1 -r1.4
|
1829
|
+
*** yvals.h 13 Feb 2007 15:03:08 -0000 1.1
|
1830
|
+
--- yvals.h 10 Oct 2007 14:55:16 -0000 1.4
|
1831
|
+
***************
|
1832
|
+
*** 110,116 ****
|
1833
|
+
#define _STR2WSTR(str) __STR2WSTR(str)
|
1834
|
+
|
1835
|
+
#define __FILEW__ _STR2WSTR(__FILE__)
|
1836
|
+
! #define __FUNCTIONW__ _STR2WSTR(__FUNCTION__)
|
1837
|
+
|
1838
|
+
/* _SECURE_SCL switches: default values */
|
1839
|
+
|
1840
|
+
--- 110,116 ----
|
1841
|
+
#define _STR2WSTR(str) __STR2WSTR(str)
|
1842
|
+
|
1843
|
+
#define __FILEW__ _STR2WSTR(__FILE__)
|
1844
|
+
! #define __FUNCTIONW__ L"<GCCXML-DISABLED>"
|
1845
|
+
|
1846
|
+
/* _SECURE_SCL switches: default values */
|
1847
|
+
|
1848
|
+
***************
|
1849
|
+
*** 175,180 ****
|
1850
|
+
--- 175,199 ----
|
1851
|
+
|
1852
|
+
#endif
|
1853
|
+
|
1854
|
+
+ /* ------------------------------------------------------------------------ */
|
1855
|
+
+ /* Forward declare these now because they are used as non-dependent names. */
|
1856
|
+
+ #ifdef _DEBUG
|
1857
|
+
+
|
1858
|
+
+ #if !defined(_NATIVE_WCHAR_T_DEFINED) && defined(_M_CEE_PURE)
|
1859
|
+
+ extern "C++"
|
1860
|
+
+ #else
|
1861
|
+
+ extern "C"
|
1862
|
+
+ #endif
|
1863
|
+
+ _CRTIMP void __cdecl _invalid_parameter(const wchar_t *, const wchar_t *, const wchar_t *, unsigned int, uintptr_t);
|
1864
|
+
+
|
1865
|
+
+ #else /* _DEBUG */
|
1866
|
+
+
|
1867
|
+
+ extern "C"
|
1868
|
+
+ _CRTIMP void __cdecl _invalid_parameter_noinfo(void);
|
1869
|
+
+
|
1870
|
+
+ #endif /* def _DEBUG */
|
1871
|
+
+ /* ------------------------------------------------------------------------ */
|
1872
|
+
+
|
1873
|
+
#if _SECURE_SCL_THROWS
|
1874
|
+
|
1875
|
+
#define _SCL_SECURE_INVALID_ARGUMENT_NO_ASSERT _Xinvarg()
|
1876
|
+
*************** _STD_END
|
1877
|
+
*** 518,525 ****
|
1878
|
+
/* VC++ COMPILER PARAMETERS */
|
1879
|
+
#define _LONGLONG __int64
|
1880
|
+
#define _ULONGLONG unsigned __int64
|
1881
|
+
! #define _LLONG_MAX 0x7fffffffffffffff
|
1882
|
+
! #define _ULLONG_MAX 0xffffffffffffffff
|
1883
|
+
|
1884
|
+
/* INTEGER PROPERTIES */
|
1885
|
+
#define _C2 1 /* 0 if not 2's complement */
|
1886
|
+
--- 537,544 ----
|
1887
|
+
/* VC++ COMPILER PARAMETERS */
|
1888
|
+
#define _LONGLONG __int64
|
1889
|
+
#define _ULONGLONG unsigned __int64
|
1890
|
+
! #define _LLONG_MAX 0x7fffffffffffffffi64
|
1891
|
+
! #define _ULLONG_MAX 0xffffffffffffffffui64
|
1892
|
+
|
1893
|
+
/* INTEGER PROPERTIES */
|
1894
|
+
#define _C2 1 /* 0 if not 2's complement */
|
1895
|
+
*************** public:
|
1896
|
+
*** 577,585 ****
|
1897
|
+
_Lockit_dtor(this);
|
1898
|
+
}
|
1899
|
+
#else
|
1900
|
+
! explicit __thiscall _Lockit(); // set default lock
|
1901
|
+
! explicit __thiscall _Lockit(int); // set the lock
|
1902
|
+
! __thiscall ~_Lockit(); // clear the lock
|
1903
|
+
#endif
|
1904
|
+
|
1905
|
+
static _MRTIMP2_NPURE void __cdecl _Lockit_ctor(int);
|
1906
|
+
--- 596,604 ----
|
1907
|
+
_Lockit_dtor(this);
|
1908
|
+
}
|
1909
|
+
#else
|
1910
|
+
! explicit _Lockit(); // set default lock
|
1911
|
+
! explicit _Lockit(int); // set the lock
|
1912
|
+
! ~_Lockit(); // clear the lock
|
1913
|
+
#endif
|
1914
|
+
|
1915
|
+
static _MRTIMP2_NPURE void __cdecl _Lockit_ctor(int);
|
1916
|
+
*************** public:
|
1917
|
+
*** 728,735 ****
|
1918
|
+
_Mutex_Unlock(this);
|
1919
|
+
}
|
1920
|
+
#else
|
1921
|
+
! __thiscall _Mutex();
|
1922
|
+
! __thiscall ~_Mutex();
|
1923
|
+
void __thiscall _Lock();
|
1924
|
+
void __thiscall _Unlock();
|
1925
|
+
#endif
|
1926
|
+
--- 747,754 ----
|
1927
|
+
_Mutex_Unlock(this);
|
1928
|
+
}
|
1929
|
+
#else
|
1930
|
+
! _Mutex();
|
1931
|
+
! ~_Mutex();
|
1932
|
+
void __thiscall _Lock();
|
1933
|
+
void __thiscall _Unlock();
|
1934
|
+
#endif
|
1935
|
+
*************** public:
|
1936
|
+
*** 772,779 ****
|
1937
|
+
_Init_locks_dtor(this);
|
1938
|
+
}
|
1939
|
+
#else
|
1940
|
+
! __thiscall _Init_locks();
|
1941
|
+
! __thiscall ~_Init_locks();
|
1942
|
+
#endif
|
1943
|
+
|
1944
|
+
private:
|
1945
|
+
--- 791,798 ----
|
1946
|
+
_Init_locks_dtor(this);
|
1947
|
+
}
|
1948
|
+
#else
|
1949
|
+
! _Init_locks();
|
1950
|
+
! ~_Init_locks();
|
1951
|
+
#endif
|
1952
|
+
|
1953
|
+
private:
|
1954
|
+
*************** typedef int _Mbstatet;
|
1955
|
+
*** 810,816 ****
|
1956
|
+
_C_STD_END
|
1957
|
+
|
1958
|
+
#define _EXTERN_TEMPLATE template
|
1959
|
+
! #define _THROW_BAD_ALLOC _THROW1(...)
|
1960
|
+
|
1961
|
+
#ifdef _MSC_VER
|
1962
|
+
#pragma pack(pop)
|
1963
|
+
--- 829,835 ----
|
1964
|
+
_C_STD_END
|
1965
|
+
|
1966
|
+
#define _EXTERN_TEMPLATE template
|
1967
|
+
! #define _THROW_BAD_ALLOC
|
1968
|
+
|
1969
|
+
#ifdef _MSC_VER
|
1970
|
+
#pragma pack(pop)
|