Вопросы по теме 'incomplete-type'

деструктор shared_ptr, копия и неполный тип
У меня есть заголовочный файл foo.h , подобный этому (несвязанные вещи опущены): #pragma once #include <memory> class Bar; struct Foo { std::shared_ptr<Bar> getBar(); std::shared_ptr<const Bar> getBar() const {...
1469 просмотров
schedule 30.04.2024