#include "MemoryCell.h" // Construct the MemoryCell with initialValue. template MemoryCell::MemoryCell( const Object & initialValue ) : storedValue( initialValue ) { } // Return the stored value. template const Object & MemoryCell::read( ) const { return storedValue; } // Store x. template void MemoryCell::write( const Object & x ) { storedValue = x; }