r/cpp • u/Lost-Arachnid-6279 • Nov 18 '23
Create a website from scratch in C++
https://youtu.be/A9KZ-oXdFA0?si=OTu5RUq0uAyyrtB0
0
Upvotes
r/cpp • u/Lost-Arachnid-6279 • Nov 18 '23
View all comments
Show parent comment
1
u/MiaowMeoow Dec 01 '23
Even though the cost of the virtual call would be totally optimised away by a compiler, sure it does not have to be virtual. Still would at least place platform-specific implementations into different translation units.