mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-06 22:48:30 +01:00
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:
parent
361f24eac7
commit
08730fc9a6
21 changed files with 3205 additions and 46 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue