¡@

Home 

c++ Programming Glossary: crtpbase

How to partially specialize a class template for all derived types?

http://stackoverflow.com/questions/1032973/how-to-partially-specialize-a-class-template-for-all-derived-types

std namespace tr1 template typename Derived struct hash CRTPBase Derived size_t operator const CRTPBase Derived & base const.. Derived struct hash CRTPBase Derived size_t operator const CRTPBase Derived & base const return base.hash But this specialization.. specialization doesn't match actual derived classes only CRTPBase Derived . What I want is a way of writing a partial specialization..