Added C++0x support for 'extern' explicit template instantiation without the translation unit.

Added test cases.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Matevz Jekovec 2009-07-11 20:13:36 +00:00
commit e1b5d43cd8
7 changed files with 14 additions and 9 deletions

View file

@ -1,10 +1,11 @@
/* This interface tests whether Swig supports the new "constexpr" keyword
introduced by C++0x.
*/
%module foo
%module cpp0x_constexpr
%inline %{
class TestClass {
public:
constexpr int func() { return 10; }
};
%}