commit | a692aa3f1dc1106edaa0b93b23bd1179a8833548 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Sat Apr 16 08:54:32 2022 -0600 |
committer | Tom Tromey <tom@tromey.com> | Sun Jun 12 10:49:48 2022 -0600 |
tree | 04a0521c2ebf6ead033532ddd3f0844846e39b87 | |
parent | 9dad432e10a94f63fc6b17d729c9cf8726e03dab [diff] |
Use inheritance for addrmap This is a simply C++-ification of the basics of addrmap: it uses virtual methods rather than a table of function pointers, and it changes the concrete implementations to be subclasses.