5 ms·
In C++ inline is sometimes needed to prevent ODR violations.
by secondcoming 4y ago
In C++ inline is sometimes needed to prevent ODR violations.
- levodelellis 4y agoThat's exactly why I included it. People automatically think inlining is my intention. In reality I avoid templates and not all of my code is in a class. It's short enough to be a candidate for inlining so I put it in a header. I was hoping more comments would discuss this