summaryrefslogtreecommitdiffstats
path: root/libutils/include/utils/KeyedVector.h
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2017-12-18 16:14:13 -0800
committerSteven Moreland <smoreland@google.com>2017-12-19 01:16:00 +0000
commitb8f152d3e2b9368717743ebcb1277239a6c00659 (patch)
tree319fd727c6ab13792dc3f8c0b0fe901888f85de5 /libutils/include/utils/KeyedVector.h
parent3fca67514a0634f1645db5d0a1030e42d061bf69 (diff)
downloadsystem_core-b8f152d3e2b9368717743ebcb1277239a6c00659.tar.gz
system_core-b8f152d3e2b9368717743ebcb1277239a6c00659.tar.bz2
system_core-b8f152d3e2b9368717743ebcb1277239a6c00659.zip
Usage suggestions.
Providing alternative suggestions for using C++ stdlib types instead of libutils types: - higher interoperability - fewer "legacy" quirks - ability to use stl algorithms - high optimization levels Test: none Change-Id: If81aa9982ca0ad229fa13c8142387906981b054d
Diffstat (limited to 'libutils/include/utils/KeyedVector.h')
-rw-r--r--libutils/include/utils/KeyedVector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libutils/include/utils/KeyedVector.h b/libutils/include/utils/KeyedVector.h
index f93ad6e21..03bfe2701 100644
--- a/libutils/include/utils/KeyedVector.h
+++ b/libutils/include/utils/KeyedVector.h
@@ -30,6 +30,8 @@
namespace android {
+// DO NOT USE: please use std::map
+
template <typename KEY, typename VALUE>
class KeyedVector
{