added refptr<T>::operator=(const T * ptr) method, including refptr in parser
git-svn-id: svn://anubis/fart/trunk@93 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
1 parent
e2424337d6
commit
c6e1a2c7e4
3 files changed
+15
No files matched your search
@@ -30,6 +30,8 @@ int main()
|
||||
refptr<S> brp(b);
|
||||
cout << "Going to assign brp to arp" << endl;
|
||||
arp = brp;
|
||||
cout << "Going to assign a new S to arp" << endl;
|
||||
arp = new S(21);
|
||||
cout << "ok, exiting" << endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user