Rename all C++0x to C++11 and cpp0x to cpp11
This commit is contained in:
parent
173c4b3bba
commit
738cc36aab
1 changed files with 309 additions and 309 deletions
12
Examples/test-suite/cpp11_constexpr.i
Normal file
12
Examples/test-suite/cpp11_constexpr.i
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/* This interface tests whether SWIG supports the new "constexpr" keyword
|
||||
introduced by C++11.
|
||||
*/
|
||||
%module cpp11_constexpr
|
||||
|
||||
%inline %{
|
||||
class TestClass {
|
||||
public:
|
||||
constexpr int func() { return 10; }
|
||||
};
|
||||
%}
|
||||
|
||||
Loading…
Reference in a new issue