summaryrefslogtreecommitdiff
path: root/Lib/std/std_container.i
Commit message (Collapse)AuthorAgeFilesLines
* Add missing parameter names in STL container wrappersWilliam S Fulton2019-02-131-1/+1
| | | | | | | Mostly in STL copy constructors. Best to have parameter names as they make their way into the wrappers in some target languages.
* Refactor std_container iterator functionsWilliam S Fulton2017-01-271-3/+30
| | | | | This is for future improvements in the C++11 unordered containers which do not have reverse iterators.
* Fix STL wrappers to not generate <: digraphs.William S Fulton2015-12-121-6/+6
| | | | | For example std::vector<::X::Y> was sometimes generated, now corrected to std::vector< ::X::Y >.
* Add std::array container wrappers for PythonWilliam S Fulton2015-11-171-25/+49
| | | | | | These work much like any of the other STL containers except Python slicing is somewhat limited because the array is a fixed size. Only slices of the full size are supported.
* C++11 support for new versions of erase and insert in the STL containers.William S Fulton2013-12-221-6/+15
| | | | | | | | | | | | | | | | | | | | 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
* Fixed bug 2811549: const vs. non-const iterators for STL types.Stefan Zager2011-04-291-4/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Apply patch #1925702 from Casey Raymondson which removeswarning 512 for ↵William S Fulton2008-03-261-4/+0
| | | | | | std::vector wrappers git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* include the language specific codes first since they can contain typemapsMarcelo Matus2005-10-311-1/+5
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Perl added to the Unified typemap library, cleaner way to use the library, ↵Marcelo Matus2005-10-241-3/+3
| | | | | | and 'normalized' macro names git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* more fixes for template + def argsMarcelo Matus2004-12-051-3/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* isolate language independent STD/STL/C++ code + more documentation + cleaningMarcelo Matus2004-10-101-0/+106
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6382 626c5289-ae23-0410-ae9c-e8d60b6d4f22