more fixes and cases for smart pointers

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-12-23 08:56:27 +00:00
commit aba193e439
5 changed files with 12 additions and 10 deletions

View file

@ -32,7 +32,7 @@
Foo *f;
public:
CBar(Foo *f) : f(f) { }
Foo *operator->() const {
const Foo *operator->() {
return f;
}
};