Boost logo

Boost :

Subject: Re: [boost] different matrix library?
From: DE (satan66613_at_[hidden])
Date: 2009-08-20 14:20:39


on 20.08.2009 at 21:55
 joel wrote :
> 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
than saying "well, not this time, baby!"
it's like a broken promise

-- 
Pavel

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk