На моем месте работы я вижу этот стиль широко используется:-< /p>
#include
using namespace std;
class A
{
public:
A(int& thing) : m_thing(thing) {}
void printit() { cout
Подробнее здесь: https://stackoverflow.com/questions/123 ... e-pitfalls
Мобильная версия