This question shows research effort; it is useful and clear
1
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我想使用奇怪的循环模式从模板基类派生:
template<typename A, typename B>
struct base
{
typedef A type;
};
template<typename B>
struct derived : public base<derived, B>
{
// Own attributes.
};