
21 Aug
2009
21 Aug
'09
2:46 p.m.
i think we agreed that a 'symmetry' concept must be handled and as i suppose a symmetric matrix is always square how you would handle such illegal attempts?
matrix<double, settings( symmetric ) > m; m.resize( ofSize(6,7) );
(i just thought: maybe restricting to 'm.resize( ofSize(6) );' ? This throw an exception.
on 20.08.2009 at 23:46 joel wrote : thus you making available a design violation detection only at run time while it should be detected at compile time since you use additional object for resizing it is easy to provide checking of such violation at compile time -- Pavel