-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The following code has problem calling the vector<string> function.
"""
#include <string>
#include <vector>
void func (std::vector<char> v) {}
void func (std::vector<std::string> v) {}
"""
Here is the python input/output for running with a list of strings (['abc',
'def']):
"""
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: Python conversion failed - RuntimeError: no overloaded member
matches
arguments.
"""
Note, that in this case, running with list of chars (['a', 'b', 'c']) works
fine. Also, running with list of
strings, when the overloaded vector<char> function does not exist, everything
works as intended.
Original issue reported on code.google.com by misha.seltzer on 6 Jun 2009 at 4:43
Reactions are currently unavailable