From: Marcelo M. <mar...@us...> - 2004-10-26 00:23:07
|
Update of /cvsroot/swig/SWIG/Examples/test-suite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7172 Modified Files: using_namespace.i Log Message: more using+namespaces cases Index: using_namespace.i =================================================================== RCS file: /cvsroot/swig/SWIG/Examples/test-suite/using_namespace.i,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** using_namespace.i 12 Jun 2003 12:15:30 -0000 1.4 --- using_namespace.i 26 Oct 2004 00:22:50 -0000 1.5 *************** *** 20,23 **** --- 20,28 ---- return 1; } + + int value2() const + { + return 2; + } }; } *************** *** 44,53 **** struct hi1 : private hello::Hi< hello::Hello, hi0 > { ! // This works ! // using hello::Hi< hello::Hello, hi::hi0 >::value1; ! ! // This doesn't ! using hello::Hi< hello::Hello, hi0 >::value1; ! }; --- 49,54 ---- struct hi1 : private hello::Hi< hello::Hello, hi0 > { ! using hello::Hi< hello::Hello, hi::hi0 >::value1; ! using hello::Hi< hello::Hello, hi0 >::value2; }; |