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:
parent
72708ea173
commit
e1b5d43cd8
7 changed files with 14 additions and 9 deletions
|
|
@ -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; }
|
||||
};
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue