开发者

deriving a templated class in c++

I have a templated base class which follows:

template<class scalar_type, template<typename > class functor>
class convex_opt{ ..
};

How开发者_如何学Python to derive a class from this templated class?


template<class scalar_type, template<typename > class functor>
class derived : public convex_opt<scalar_type, functor> {
 ...

?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜