Код: Выделить всё
#include
#include
#include ;
#include
#include
struct Object
{
std::size_t m_id = 0;
std::string m_name = "";
Object()
{
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79637439/whats-the-standards-compliant-portable-way-of-creating-uninitialized-stack-memo[/url]