D
Danile Tagman
Hi
iam having troubles getting two classes to work the way I want. Both
classes are pretty much fully inlined ( theyre math classes, vector
and matrix ). Now I defined a function side the vector class that uses
a matrix function and vice versa... So far - no problem, if they
werent inlined. But since both of the functions using the other class
are inlined, I cant resolve the problem by simply putting a forward
declaration like class CVec3; in front of the matrix class. Everything
works well if iam not inlining these functions. Any idea how to
resolve that problem?
Thanks in advance
iam having troubles getting two classes to work the way I want. Both
classes are pretty much fully inlined ( theyre math classes, vector
and matrix ). Now I defined a function side the vector class that uses
a matrix function and vice versa... So far - no problem, if they
werent inlined. But since both of the functions using the other class
are inlined, I cant resolve the problem by simply putting a forward
declaration like class CVec3; in front of the matrix class. Everything
works well if iam not inlining these functions. Any idea how to
resolve that problem?
Thanks in advance