-Memory::Memory(const char *cd, unsigned s)
-{
- char *d = const_cast<char *>(cd);
- init(d, d+s, M_READ);
-}
+Memory::Memory(const char *d, std::size_t s):
+ Memory(const_cast<char *>(d), const_cast<char *>(d+s), M_READ)
+{ }
+
+Memory::Memory(const char *b, const char *e):
+ Memory(const_cast<char *>(b), const_cast<char *>(e), M_READ)
+{ }