
20 Aug
2009
20 Aug
'09
5:55 p.m.
DE wrote:
(i hope i got it right) but this implementation does not allow to define different interfaces for differently tagged entities, does it? 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&) -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35