source:
proiecte/swift/trunk/lib/hoard-371/src/conformantheap.h
Last change on this file was 176, checked in by , 14 years ago | |
---|---|
File size: 297 bytes |
Rev | Line | |
---|---|---|
[176] | 1 | #ifndef _CONFORMANTHEAP_H_ |
2 | #define _CONFORMANTHEAP_H_ | |
3 | ||
4 | namespace Hoard { | |
5 | ||
6 | // more concise than double declarations when the parent is complex | |
7 | // and we need the SuperHeap declaration. | |
8 | template <class Parent> | |
9 | class ConformantHeap : public Parent { | |
10 | public: | |
11 | typedef Parent SuperHeap; | |
12 | }; | |
13 | ||
14 | } | |
15 | ||
16 | #endif |
Note: See TracBrowser
for help on using the repository browser.