Re:

"Toshi-Taka IKESHOJI" <[email protected]> Wed, 9 Feb 2005 22:29:55 +0900
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
I managed to fix the problem I posted yesterday.
Because no one answered to it, it might be too obvious one.
I'm sorry for my idiot question.

Anyway, as mentioned in my last post, the line 200-203 in dense2D.h make
vc7.1 compiler evoke the compilation error: "unknown identifier, x".

in dense2D.h
200: template <class size_t, int MM, int NN>
201: inline rect_offset<size_t,MM,NN>::rect_offset(const
rect_offset<size_t,MM,NN>::transpose_type& x)
202:	: dim(x.dim), ld(x.ld) { }

These three lines are commnet-outed, and the following two lines, 103 and
104,  are inserted.

077:template <class size_t, int MM, int NN>
078:class rect_offset {
. . . . . . . . .
102:  //rect_offset(const transpose_type& x); /* see below strided_offset
for def */
103:  inline rect_offset(const transpose_type& x) // <--- INSERTED ---
104:	: dim(x.dim), ld(x.ld) { }                          // <--- INSERTED
---
. . . . . . . . .
121:};

Then, vc7.1 passed the code. 
But, what is the line 102's meaning? I could not figure out in the
definition of strided_offset.
And I wonder this fix might cause some kind of error during the calculation.
Would anyone have comment?

Toshi-Taka IKESHOJI


_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/