开发者

crtp

0
  • Inheritance with CRTP

    I have these 3 classes. class A { public: virtual void Func() = 0; }; template<class T> class B : public A[详细]

    2022-12-20 22:28 分类:问答
  • C++ Compiler error with CRTP

    I have the following class hierarchy: template <typename T> class base { public: void f() {} }; class class_a : public base<class_a> {};[详细]

    2022-12-19 08:38 分类:问答
  • Just-In-Time Derivation

    There\'s a less common C++ idiom that I\'ve used to good effect a few times in the past. I just can\'t seem to remember if it has a generally used name to describe it.[详细]

    2022-12-14 11:37 分类:问答
  • enums and generic methods in java

    I still have trouble with some corner cases in the java generics system. I have this method (I\'m only interested in the signature) :[详细]

    2022-12-08 16:24 分类:问答