Код: Выделить всё
#include
#include
using namespace std;
class TextBlock
{
public:
TextBlock (string str) : s(str) {
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/23205799/compiler-generated-copy-assignment-functions-for-classes-with-reference-and-cons[/url]