• tunetardis@lemmy.ca
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    3 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.