¡@

Home 

c++ Programming Glossary: base_traits

C++ static polymorphism (CRTP) and using typedefs from derived classes

http://stackoverflow.com/questions/6006614/c-static-polymorphism-crtp-and-using-typedefs-from-derived-classes

from the derived class through the traits. Declare a base_traits traits class template template typename derived_t struct base_traits.. traits class template template typename derived_t struct base_traits Define the base class that uses the traits template typename.. template typename derived_t struct base typedef typename base_traits derived_t value_type value_type value_type base_foo return base_traits..