C++ 2019 Access
class VoxelGrid : public Serializable { public: virtual void serialize(Archive& ar) override; }; Everything looked perfect. No typos. No missing includes. The virtual keyword matched. The override was correct.
Leo stared. He had defined VoxelGrid::serialize . He was certain of it. He pressed Ctrl+Shift+F and searched the entire solution. c++ 2019
void VoxelGrid::serialize(Archive& ar) { ar & width; ar & height; // ... more code } He checked the header ( VoxelGrid.h ): class VoxelGrid : public Serializable { public: virtual
Leo laughed. It was a hollow, sleep-deprived laugh that turned into a cough. He added the const , rebuilt, and the linker error vanished. The executable spun to life. ar & height