summaryrefslogtreecommitdiffstats
path: root/include/UniquePtr.h
Commit message (Collapse)AuthorAgeFilesLines
* Move more utility classes from libcore to libnativehelper (part 2)Brian Carlstrom2013-05-101-231/+0
| | | | Change-Id: If23ff812f5283c15aeb2ca3a5d82f685f78d540d
* Check that the result of UniquePtr::release is always used.Elliott Hughes2011-06-071-2/+2
| | | | | | | (And silence the warnings in those cases where it isn't because we're working around OpenSSL API lossage.) Change-Id: Ibc7958373e7a899a6cd03a0177f97bf3a73c0e15
* Add a general-purpose scoped pointer for libcore JNI.Elliott Hughes2010-02-101-0/+231
This is a functional equivalent of C++0x's std::unique_ptr. (I'm not planning to use this in froyo, but I want it there in case I have to backport changes from dalvik-dev.)