one other thing. I asked about this in the mail list but
didn't get a responce. I purposely did not use "const T&"
in std_list.i because like in std_vector.i i get errors
compiling with that. maybe its my typemaping, if its not
good to use that way please let me know. because in the
project I'm working on I will have to copy and change the
std_vector.i to use with non const pointer to classes, like say:
typedef std::vector<cVal*> cValVector;
The std_vector.i file has been fixed for vectors of const
and non-const pointers. The value_type is used in the
declaration as this is what is in the STL.
I reckon you can take the std_vector_runme.cs file and make
a few mods to thoroughly test the list wrappers. This is my
preferred runtime test which I'll do if you don't beat me to it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=242951
This is great. I don't suppose you have any regression tests
for it, like Examples/test-suite/csharp/li_std_vector_runme.cs?
Logged In: YES
user_id=828116
i made this littal test.
Logged In: YES
user_id=828116
one other thing. I asked about this in the mail list but
didn't get a responce. I purposely did not use "const T&"
in std_list.i because like in std_vector.i i get errors
compiling with that. maybe its my typemaping, if its not
good to use that way please let me know. because in the
project I'm working on I will have to copy and change the
std_vector.i to use with non const pointer to classes, like say:
typedef std::vector<cVal*> cValVector;
my swig-user post:
http://sourceforge.net/mailarchive/message.php?msg_id=14094441
try2 test for std_list.i
Logged In: YES
user_id=242951
The std_vector.i file has been fixed for vectors of const
and non-const pointers. The value_type is used in the
declaration as this is what is in the STL.
I reckon you can take the std_vector_runme.cs file and make
a few mods to thoroughly test the list wrappers. This is my
preferred runtime test which I'll do if you don't beat me to it.
Superceded by https://github.com/swig/swig/pull/674. If there is any functionality missing compared to your version, please let us know.