Boost logo

Boost Users :

From: Ares Lagae (ares.lagae_at_[hidden])
Date: 2008-03-17 08:21:51


I have a base class template "template <typename T1, typename T2> struct
base {};" and a derived class "derived" that publicly derives from several
instantiations from the base class template.

Given a type "T1", is it possible to decide if the class "derived" is
derived from a base "base<T1,X>" and deduce the unknown type "X"?

Best regards,

-- 
Ares Lagae
Computer Graphics Research Group, Katholieke Universiteit Leuven
http://www.cs.kuleuven.be/~ares/

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net