Beispiel #1
0
 B(const B &) : std::enable_shared_from_this<B>() { print_copy_created(this); }
Beispiel #2
0
 A(const A &) { print_copy_created(this); }
 TypeForHolderWithAddressOf(const TypeForHolderWithAddressOf &) { print_copy_created(this); }
Beispiel #4
0
 Matrix(const Matrix &s) : m_rows(s.m_rows), m_cols(s.m_cols) {
     print_copy_created(this, std::to_string(m_rows) + "x" + std::to_string(m_cols) + " matrix");
     m_data = new float[m_rows * m_cols];
     memcpy(m_data, s.m_data, sizeof(float) * m_rows * m_cols);
 }
 ExampleMandA(const ExampleMandA &e) : value(e.value) { print_copy_created(this); }