~satchmo/libvmm

d1e2394c16ab1264d23a2c78607433815c3fbb23 — Jason Phan 4 months ago fca0f83
memory: Move includes in addres.hpp out of namespace

Unused/unfinished public using declarations are also commented out.
M vmm/memory/detail/address.hpp => vmm/memory/detail/address.hpp +3 -3
@@ 4,10 4,10 @@

#pragma once

namespace vmm::memory::detail {

#include <optional>
#include <limits>
#include <optional>

namespace vmm::memory::detail {

// An address within some address space.
//

M vmm/memory/detail/guest.hpp => vmm/memory/detail/guest.hpp +1 -1
@@ 10,8 10,8 @@
#include <fstream> // fstream
#include <ios> // ios_base
#include <iostream> // ostream
#include <limits> // numeric_limits
#include <memory> // shared_ptr
#include <stdexcept> // runtime_error
#include <string> // string

#include "vmm/memory/detail/address.hpp" // Address, AddressValue

M vmm/memory/guest.hpp => vmm/memory/guest.hpp +0 -1
@@ 4,5 4,4 @@

//namespace vmm::memory {


//}  // vmm::memory

M vmm/memory/memory.hpp => vmm/memory/memory.hpp +5 -4
@@ 9,15 9,16 @@

namespace vmm::memory {

template<typename T>
using AddressValue = vmm::memory::detail::AddressValue<T>;
//template<typename T>
//using AddressValue = vmm::memory::detail::AddressValue<T>;

template<typename T, typename S>
using Address = vmm::memory::detail::Address<T, S>;

using GuestAddress = vmm::memory::detail::GuestAddress;
using MemoryRegionAddress = vmm::memory::detail::MemoryRegionAddress;
//using MemoryRegionAddress = vmm::memory::detail::MemoryRegionAddress;
//using MemoryRegion = vmm::memory::detail::MemoryRegion;

using FileOffset = vmm::memory::detail::FileOffset;
//using FileOffset = vmm::memory::detail::FileOffset;

}  // vmm::memory