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