
27 May
2005
27 May
'05
1:42 p.m.
"Alexander Nasonov" <alnsn-boost@yandex.ru> wrote
Arkadiy Vertleyb <vertleyb <at> hotmail.com> writes:
That maybe OK for typeof. The bigger problem is that they are not matched as strictly as specializations do. For example a derived class can be matched, etc.
enable_if?
Well, there might exist alternatives to partial template specialization, and I think Peder explored some of them in his "vintage" implementation. The question is whether it worth it. I still think partial template specialization is the most natural way of splitting a type into components. Can't see why anything else would be better... Regards, Arkadiy