> Btw: If i want to inline a function, do i have to inline it in the prototype or in the actual declaration? Or both perhaps?
inline functions should actually be defined in the header file not on a cpp file.
> Btw: If i want to inline a function, do i have to inline it in the prototype or in the actual declaration? Or both perhaps?
inline functions should actually be defined in the header file not on a cpp file.
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.