swig/Lib/std
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
..
_std_deque.i Add some missing STL container typedefs for Perl 2012-08-15 23:04:26 +00:00
README isolate language independent STD/STL/C++ code + more documentation + cleaning 2004-10-10 06:42:15 +00:00
std_alloc.i better support for string and def. args, plus adding allocator + sstream 2004-12-01 01:22:30 +00:00
std_basic_string.i fix/apply naturalvar 2006-01-29 03:29:20 +00:00
std_carray.swg move iterator classes to pyiterator and add/test std_carray.i class 2005-12-19 10:43:26 +00:00
std_char_traits.i allow to use iostream and sstream without wchar support, as pointed by Scott 2005-04-02 18:52:10 +00:00
std_common.i Fix missing stddef.h when %import of STL containers. Was causing compile failures witht g++-4.6. 2012-03-20 20:07:56 +00:00
std_container.i C++11 support for new versions of erase and insert in the STL containers. 2013-12-22 19:52:55 +00:00
std_deque.i include the language specific codes first since they can contain typemaps 2005-10-31 09:47:41 +00:00
std_except.i With so many std_except.i files lying around, I've put in a check that this one isn't included for java/c# wrappers. 2006-01-05 22:21:43 +00:00
std_ios.i more fixes for python 1.5 +gcc2.96 2005-06-17 19:12:21 +00:00
std_iostream.i allow to use iostream and sstream without wchar support, as pointed by Scott 2005-04-02 18:52:10 +00:00
std_list.i include the language specific codes first since they can contain typemaps 2005-10-31 09:47:41 +00:00
std_map.i C++11 support for new versions of erase and insert in the STL containers. 2013-12-22 19:52:55 +00:00
std_multimap.i Merge branch 'master' into gsoc2009-matevz 2013-10-10 07:26:09 +01:00
std_multiset.i Added initial support for hash tables unordered_ types. 2009-07-18 21:34:53 +00:00
std_pair.i Fix assorted typos. 2013-01-08 18:47:40 +13:00
std_queue.i Fixed type_name of some std classes. 2007-05-06 12:46:40 +00:00
std_set.i C++11 support for new versions of erase and insert in the STL containers. 2013-12-22 19:52:55 +00:00
std_sstream.i allow to use iostream and sstream without wchar support, as pointed by Scott 2005-04-02 18:52:10 +00:00
std_stack.i Fixed type_name of some std classes. 2007-05-06 12:46:40 +00:00
std_streambuf.i add the copyctor feature/directive to enable automatic copy constructors. In the way, fix how default ctor/dtor are added 2005-12-30 00:04:00 +00:00
std_string.i fix/apply naturalvar 2006-01-29 03:29:20 +00:00
std_unordered_map.i C++11 support for new versions of erase and insert in the STL containers. 2013-12-22 19:52:55 +00:00
std_unordered_multimap.i Removed decr-- Hash tables feature. 2009-08-14 16:15:36 +00:00
std_unordered_multiset.i Removed decr-- Hash tables feature. 2009-08-14 16:15:36 +00:00
std_unordered_set.i C++11 support for new versions of erase and insert in the STL containers. 2013-12-22 19:52:55 +00:00
std_vector.i Fix assorted typos. 2013-01-08 18:47:40 +13:00
std_vectora.i more fixes for template + def args 2004-12-05 10:15:25 +00:00
std_wios.i allow to use iostream and sstream without wchar support, as pointed by Scott 2005-04-02 20:24:13 +00:00
std_wiostream.i allow to use iostream and sstream without wchar support, as pointed by Scott 2005-04-02 18:52:10 +00:00
std_wsstream.i allow to use iostream and sstream without wchar support, as pointed by Scott 2005-04-02 18:52:10 +00:00
std_wstreambuf.i allow to use iostream and sstream without wchar support, as pointed by Scott 2005-04-02 20:24:13 +00:00
std_wstring.i fix/apply naturalvar 2006-01-29 03:29:20 +00:00

/* -----------------------------------------------------------------------------
 *  C++ STD + STL 
 * ----------------------------------------------------------------------------- */

std_common.i		general common code 
std_container.i		general container code 
std_basic_string.i	basic string
std_char_traits.i	char traits
std_complex.i		complex
std_deque.i		deque	
std_except.i		exceptions
std_ios.i		ios
std_iostream.i		istream/ostream
std_list.i		list
std_map.i		map
std_multimap.i		multimap
std_multiset.i		multiset
std_pair.i		pair
std_set.i		set
std_streambuf.i		streambuf
std_vector.i		vector
std_vectora.i		vector + allocator