swig/Lib
William S Fulton 92128eef44 C++11 support for new versions of erase and insert in the STL containers.
The erase and insert methods in the containers use const_iterator instead
of iterator in C++11.  There are times when the methods wrapped must match
the parameters exactly. Specifically when full type information for
template types is missing or SWIG fails to look up the type correctly,
for example:

  %include <std_vector.i>
  typedef float Real;
  %template(RealVector) std::vector<Real>;

SWIG does not find std::vector<Real>::iterator because %template using
typedefs does not always work and so SWIG doesn't know if the type is
copyable and so uses SwigValueWrapper<iterator> which does
not support conversion to another type (const_iterator). This resulted
in compilation errors when using the C++11 version of the containers.

Closes #73
2013-12-22 19:52:55 +00:00
..
allegrocl Merge branch 'master' into gsoc2009-matevz 2013-01-28 07:01:37 +00:00
cffi Merge branch 'master' into gsoc2009-matevz 2013-10-10 07:26:09 +01:00
chicken Merge branch 'master' into gsoc2009-matevz 2013-01-28 07:01:37 +00:00
clisp merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
csharp Add std_auto_ptr.i defining typemaps for returning std::auto_ptr<>. 2013-12-03 23:45:20 +01:00
d std::string typemap modifications so they can be used with %apply for other string classes 2012-05-26 06:33:49 +00:00
gcj merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
go Remove Go -longsize option. 2013-12-17 17:37:55 -08:00
guile Remove a couple of unused variable warnings in generated code 2013-10-18 19:10:42 +01:00
java Add std_auto_ptr.i defining typemaps for returning std::auto_ptr<>. 2013-12-03 23:45:20 +01:00
lua Bug fix (typo - "wchar" instead of "wchar_t") 2013-12-12 16:53:23 +13:00
modula3 Add rvalue reference typemaps 2013-01-24 20:27:28 +00:00
mzscheme Merge branch 'master' into gsoc2009-matevz 2013-10-10 07:26:09 +01:00
ocaml Merge branch 'master' into gsoc2009-matevz 2013-01-28 07:01:37 +00:00
octave Fix for missing C++ code in std::multimap wrappers. 2013-08-06 07:02:49 +01:00
perl5 Merge branch 'master' into gsoc2009-matevz 2013-10-10 07:26:09 +01:00
php Fix Examples/php/pointer to work with PHP 5.5 2013-12-12 15:52:51 +13:00
pike Merge branch 'master' into gsoc2009-matevz 2013-10-10 07:26:09 +01:00
python Fix a few typos in comments and docs 2013-12-12 11:45:30 +13:00
r Fix Visual Studio compile error in C++ wrappers due to #include <exception> within extern "C" block. 2013-10-17 21:54:58 +01:00
ruby Fix some gcc -Wall unused warnings in the Ruby wrappers 2013-10-18 18:13:11 +01:00
std C++11 support for new versions of erase and insert in the STL containers. 2013-12-22 19:52:55 +00:00
tcl Merge branch 'master' into gsoc2009-matevz 2013-10-10 07:26:09 +01:00
typemaps Merge branch 'nested' - nested structs/classes support 2013-12-14 15:12:07 +00:00
uffi merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
xml delete the perl5 typemaps, ignored here 2006-01-05 19:34:51 +00:00
allkw.swg Added support for the D programming languge. 2010-11-18 00:24:02 +00:00
attribute.i Fix %arg in Lib/attribute.i 2013-05-25 00:37:57 +01:00
carrays.i Fix constructors in named typedef class declarations 2011-08-25 19:27:38 +00:00
cdata.i Fix deprecation warnings for test suite under guile 2.0 2013-04-28 22:06:24 +02:00
cmalloc.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
constraints.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
cpointer.i Remove warning: 'self' is a ruby keyword, renaming to 'C_self' since improving autodoc for Ruby 2011-12-21 22:01:27 +00:00
cstring.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
cwstring.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
exception.i Fix deprecation warnings for test suite under guile 2.0 2013-04-28 22:06:24 +02:00
intrusive_ptr.i Convert to unix fileformat 2013-01-12 16:54:37 +00:00
inttypes.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
linkruntime.c fix macro issue reported by Vladimir Menshakov 2006-04-10 19:00:44 +00:00
math.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
pointer.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
runtime.swg fix VC++ warning 2005-09-29 13:17:05 +00:00
shared_ptr.i Add std_shared_ptr.i and document shared_ptr library 2010-06-01 19:03:55 +00:00
std_except.i Added support for the D programming languge. 2010-11-18 00:24:02 +00:00
stdint.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
stl.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
swig.swg Merge branch 'nested' - nested structs/classes support 2013-12-14 15:12:07 +00:00
swigarch.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
swigerrors.swg Remove trailing spaces in the generated code. 2013-09-13 10:02:39 +02:00
swiginit.swg Remove trailing spaces in the generated code. 2013-09-13 10:02:39 +02:00
swiglabels.swg Remove trailing spaces in the generated code. 2013-09-13 10:02:39 +02:00
swigrun.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
swigrun.swg Remove trailing spaces in the generated code. 2013-09-13 10:02:39 +02:00
swigwarnings.swg Rework std::initializer_list handling to warn about usage in any method, not just constructors. A typemap is used to issue the warning and can be overridden with user defined behaviour. 2013-02-04 20:03:22 +00:00
wchar.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
windows.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00