22 #include "CoreException.hpp"
28 namespace FotoSHOCKcore {
42 typedef const T* const_iterator;
44 typedef const T& const_reference;
45 typedef std::size_t size_type;
46 typedef std::ptrdiff_t difference_type;
55 m_content =
new value_type[
size]();
63 if (other.m_size > 0) {
64 m_content =
new value_type[m_size];
65 std::memcpy(m_content, other.m_content, m_size *
sizeof(value_type));
80 if (m_size == other.m_size) {
81 std::memcpy(m_content, other.m_content, m_size *
sizeof(value_type));
93 assert (m_content != 0);
102 assert (m_content != 0);
112 const size_type m_size;
113 value_type* m_content;