Boost logo

Boost :

Subject: Re: [boost] different matrix library?
From: joel (joel.falcou_at_[hidden])
Date: 2009-08-24 02:51:09


DE wrote:
> #2: do you use CRTP for policies itself? to restrict usages like this:
>
> matrix<double, settings( symmetric, 42 ) > m;
>
> i think it's a good idea, then settings() becomes something like
>
> template<typename p1, typename p2>
> <resulting_policy_type> settings(policy<p1>, policy<p2>);
>
Well, you are aware that the first thign is not even writable as it's
nto a valid c++ type.
As far from now, I'll refrain posting on this thread as it looks like a
discussion for C++.moderated.
Come back when you know what you are talking about and when you have a
proper implementation to show.

-- 
___________________________________________
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