Add static version of map wrappers and corresponding serializers.

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@714 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
SiyangXie@gmail.com
2010-10-15 20:36:31 +00:00
parent 361f24eac7
commit 08730fc9a6
21 changed files with 3205 additions and 46 deletions

View File

@@ -46,6 +46,8 @@
namespace google_breakpad {
// Forward declarations (for later friend declarations of specialized template).
template<class, class> class RangeMapSerializer;
template<typename AddressType, typename EntryType>
class RangeMap {
@@ -93,6 +95,9 @@ class RangeMap {
void Clear();
private:
// Friend declarations.
friend class RangeMapSerializer<AddressType, EntryType>;
class Range {
public:
Range(const AddressType &base, const EntryType &entry)