c++ Programming Glossary: derived_t
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 I haven't tried it yet . Anyone know why template typename derived_t class base public typedef typename derived_t value_type value_type.. typename derived_t class base public typedef typename derived_t value_type value_type value_type foo return static_cast derived_t.. value_type value_type value_type foo return static_cast derived_t this foo template typename T class derived public base derived..
|