this post was submitted on 22 Mar 2024
226 points (94.5% liked)

Programmer Humor

33603 readers
11 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] tunetardis@lemmy.ca 12 points 11 months ago* (last edited 11 months ago)

There is an issue with templated code where the implementation does have to be in the header as well, though that is not the case here. C++20 introduced modules which I guess were meant to sort out this mess, but it has been a rocky road getting them to be supported by compilers.