Should a
Код: Выделить всё
classКод: Выделить всё
=deleteКод: Выделить всё
publicКод: Выделить всё
staticКод: Выделить всё
namespaceКод: Выделить всё
// Snippet A
class Foo
{
public:
// Static variables and functions here
Foo() = delete;
};
// Snippet B
namespace Foo
{
// Static variables and functions here
};
Источник: https://stackoverflow.com/questions/781 ... ass-with-d
Мобильная версия