D
Dave
Hello all,
I have one method of a class calling another method (both private, though
that shouldn't matter). The method and its enclosing class are declared in
a .h file and the method is defined in a corresponding .cpp file. If I mark
the method as inline (either in the declaration alone, the definition alone
or both), I get a link error. If I do not mark the method as inline,
everything is fine. Can anybody think of a plausible explanation for this
behavior? My platform is VC++ 7.1.
Thanks,
Dave
I have one method of a class calling another method (both private, though
that shouldn't matter). The method and its enclosing class are declared in
a .h file and the method is defined in a corresponding .cpp file. If I mark
the method as inline (either in the declaration alone, the definition alone
or both), I get a link error. If I do not mark the method as inline,
everything is fine. Can anybody think of a plausible explanation for this
behavior? My platform is VC++ 7.1.
Thanks,
Dave