#include "PageTable.h" PageTable::PageTable(const unsigned int entry_num) { entries.reserve(entry_num); for (int i = 0; i < entry_num; ++i) { entries.emplace_back(); } } PTE &PageTable::operator[](const unsigned int index) { return this->entries.at(index); }