simple formatting changes

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@12154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2010-06-26 22:48:49 +00:00
commit c3b48505e2
26 changed files with 134 additions and 134 deletions

View file

@ -1,4 +1,4 @@
/* This interface checks whether Swig correctly compiles the new
/* This interface checks whether SWIG correctly compiles the new
explicit conversion operators feature introduced in C++0x.
*/
%module cpp0x_explicit_conversion_operators
@ -7,22 +7,22 @@
class U {
public:
int u;
int u;
};
class V {
public:
int v;
int v;
};
class TestClass {
public:
//implicit converting constructor
TestClass( U const &val ) { t=val.u; }
// explicit constructor
explicit TestClass( V const &val ) { t=val.v; }
int t;
//implicit converting constructor
TestClass( U const &val ) { t=val.u; }
// explicit constructor
explicit TestClass( V const &val ) { t=val.v; }
int t;
};
%}