Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2006-02-17 20:57:42


Perry Smith <pedz_at_[hidden]> writes:

> 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?

No, it's not possible within the C++ language.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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