
17 Feb
2006
17 Feb
'06
9:31 p.m.
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Perry Smith Sent: Friday, February 17, 2006 11:24 AM To: boost-users@lists.boost.org Subject: [Boost-users] Un-nesting a class
I have a template like:
template <typename Z> class foo { // ...
I know that Z has the form A::B::C (three levels of nesting). Does boost have a way for me to define a type which refers to A::B?
Oops. I think I meant: template<typename Z> class foo { typedef typename Z::B zb; }; class A { class B { }; }; foo<A> a;