Fix some scope and symbol lookup problems when template default parameters are being used with typedef - add the fully expanded template into the c symbol table and scope table.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6f67280044
commit
6c100423b8
7 changed files with 204 additions and 4 deletions
|
|
@ -5,6 +5,20 @@ See the RELEASENOTES file for a summary of changes in each release.
|
|||
Version 2.0.5 (in progress)
|
||||
===========================
|
||||
|
||||
2011-07-01: wsfulton
|
||||
Fix some scope and symbol lookup problems when template default parameters are being
|
||||
used with typedef. For example:
|
||||
|
||||
template<typename XX, typename TT = SomeType> struct Foo {
|
||||
typedef XX X;
|
||||
typedef TT T;
|
||||
};
|
||||
template<typename TT> struct UsesFoo {
|
||||
void x(typename Foo<TT>::T, typename Foo<TT>::X);
|
||||
};
|
||||
|
||||
Also fixes use of std::vector<int>::size_type for Python as reported by Aubrey Barnard.
|
||||
|
||||
2011-06-23: olly
|
||||
[PHP] Fix director code to work when PHP is built with ZTS enabled,
|
||||
which is the standard configuration on Microsoft Windows.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue