Index: compiled/StringMap.h |
=================================================================== |
--- a/compiled/StringMap.h |
+++ b/compiled/StringMap.h |
@@ -210,16 +210,26 @@ namespace StringMap_internal |
{ |
return const_iterator(&mBuckets[0], &mBuckets[mBucketCount]); |
} |
const_iterator end() const |
{ |
return const_iterator(&mBuckets[mBucketCount], &mBuckets[mBucketCount]); |
} |
+ |
+ size_type max_size() const |
+ { |
+ return mBucketCount; |
+ } |
+ |
+ size_type size() const |
+ { |
+ return mEntryCount; |
+ } |
}; |
struct StringSetEntry |
{ |
StringSetEntry() {} |
StringSetEntry(const String& key) |
: first(key) |
{ |