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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to