|
Boost : |
Subject: Re: [boost] different matrix library?
From: joel (joel.falcou_at_[hidden])
Date: 2009-08-20 13:55:39
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk