Rename all C++0x to C++11 and cpp0x to cpp11
This commit is contained in:
parent
173c4b3bba
commit
738cc36aab
52 changed files with 307 additions and 307 deletions
17
Examples/test-suite/cpp11_sizeof_object.i
Normal file
17
Examples/test-suite/cpp11_sizeof_object.i
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/* This testcase checks whether SWIG correctly uses the sizeof() on the
|
||||
concrete objects and not only types introduced in C++11. */
|
||||
%module cpp11_sizeof_object
|
||||
|
||||
%inline %{
|
||||
struct B {
|
||||
unsigned long member1;
|
||||
long long member2;
|
||||
char member3;
|
||||
};
|
||||
|
||||
struct A {
|
||||
B member;
|
||||
};
|
||||
|
||||
const int a = sizeof(A::member);
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue