The code is now Coplien Compilent

This commit is contained in:
AnonymusRaccoon
2020-02-13 16:34:36 +01:00
parent 7e97a9466c
commit f9349cf530
16 changed files with 61 additions and 17 deletions
+3
View File
@@ -20,6 +20,9 @@ namespace ComSquare::Memory
public:
//! @brief Create a shadow for the memory given as parameter.
explicit RectangleShadow(std::shared_ptr<IRectangleMemory> initial, uint8_t startBank, uint8_t endBank, uint16_t startPage, uint16_t endPage);
RectangleShadow(const RectangleShadow &) = default;
RectangleShadow &operator=(const RectangleShadow &) = default;
~RectangleShadow() = default;
//! @brief Internal component read. Implement this as you would implement a basic IMemory's read.
//! @param addr The local address to read from. 0x0 refer to the first byte of your data and the address is in the component's space. That means that you can consider this address as continuous