Originally Posted by mitakeet
You don't have to define the methods as inline, you just have to put the methods in the header file (it is 'bad form' to include the cpp file). The vast majority of compilers will only look in included files (i.e., headers) and will not willy nilly root around looking for suitable source files to find what they need. Some compilers will (Intel's compiler will actually modify the binary and do inlining at that point). I have used templates in DevC with no problem, no need to switch compilers.