views:

98

answers:

2

I have a templated base class which follows:

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

How to derive a class from this templated class?

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

?

KennyTM
A: 

See an example here

Ando
If you provide links, please give at least an abstract of its contents.
Georg Fritzsche