
24 Aug
2009
24 Aug
'09
6:51 a.m.
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