Improved patch that fixes bug ID: 2919243 and issue with the initial fix to Lib/tcl/std_vector.i
- get method of vector in specialized template implementation returned value using type T*&, that was interpreted to final type T**.
- original fix and example code by Chris Hill ( gbrchill ) - 2009-12-22 12:14:14 EET
Patch is against svn revision r12163.
patch for Lib/tcl/std_vector.i
Example code for testing
Patch looks reasonable (except for the first hunk which reintroduces the old licence boilerplate), and the tcl testsuite still passes with it applied.
It would be good to slot the testcase into the testsuite so we have test coverage to ensure this actually works, and continues to do so. I'll take a look when I get a chance, but if anyone fancies a go, feel free to beat me to it!