Can anybody explain me the difference between implementing a class in the
header or in the cpp file?
Thanks
Oliver
Inline methods and methods of class templates are normally also found in
headers. This is an exception because the code of these methods must be
known whereever the method is called.
Oliver Wulff <oliver...@zurich.com> schrieb in im Newsbeitrag:
unucoZfJ$GA.253@cppssbbsa05...
If you define a class method function implimentation in the header file
(actually in the body of a class definition - which should be in the
header file) it automatically becomes an inline function.
Sent via Deja.com http://www.deja.com/
Before you buy.