Added constexpr keywords and CONSTEXPR terminal to Swig parser.
Added cpp0x_constexpr.i testcase. Fixed compilation bug of cpp0x_template_double_brackets.i testcase. Removed obsolete cpp0x_template_double_brackets_broken. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5fd3ccae18
commit
d8012716ed
6 changed files with 22 additions and 37 deletions
8
Examples/test-suite/cpp0x_constexpr.i
Normal file
8
Examples/test-suite/cpp0x_constexpr.i
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
%module foo
|
||||
|
||||
%inline %{
|
||||
class TestClass {
|
||||
constexpr int func() { return 10; }
|
||||
};
|
||||
%}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue