]> git.mxchange.org Git - simgear.git/commit
SGSharedPtr/SGWeakPtr: add some methods/operators
authorThomas Geymayer <tomgey@gmail.com>
Tue, 6 May 2014 14:06:33 +0000 (16:06 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Tue, 6 May 2014 16:10:14 +0000 (18:10 +0200)
commit247aa498499db8ef1081b047fa80d7bdb85fbd9c
tree695f69509e92c4ecabbe54fd6839e82b49433b11
parentedaae885ee03c07b18fdfc1417e0def9fd9fce4c
SGSharedPtr/SGWeakPtr: add some methods/operators

 - allow placing SGWeakPtr in sorted STL containers (eg. requiring
   operator<)
 - add reset() like for boost::shared_ptr/boost::weak_ptr
 - add helper to extract pointer from SGWeakPtr
simgear/nasal/cppbind/Ghost.hxx
simgear/structure/SGSharedPtr.hxx
simgear/structure/SGWeakPtr.hxx