[PUSHED] Re: [PATCH] Final stretch of converting SV_DECL_PTRARR to STL containers stage 3/3

Stephan Bergmann sbergman at redhat.com
Wed Aug 1 00:50:08 PDT 2012


On 07/31/2012 10:38 PM, Michael Stahl wrote:
> by the way, is there any way to force a template parameter that itself
> has template parameters to use the same type parameters as the type that
> it's a template parameter to?  would be useful here...

by using template template parameters?

template<typename T> class A {};
template<typename T1, template<typename> class T2> class B {
     T2<T1> x;
};

Stephan



More information about the LibreOffice mailing list