
20 Aug
2009
20 Aug
'09
6:20 p.m.
SFINAE and partial specilization allow this yes. matrix<double> m; matrix<double, settings( OfSize<4,4> ) > n; m.resize( ofSize(6,6) ); // works n.resize( ofSize(6,6) ); // don't works : no matching function matrix<...>::resize( dimen<N,D> const&) it'll be cool to not provide illegal parts of interface at all rather
on 20.08.2009 at 21:55 joel wrote : than saying "well, not this time, baby!" it's like a broken promise -- Pavel