Код: Выделить всё
// dynamic.hpp
class Test {
private:
static void update();
};
// dynamic.cpp
#include "dynamic.hpp"
#include
void Test::update() {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79797582/cannot-build-shared-library-with-static-member-function-declared-in-header[/url]
Мобильная версия