Boost logo

Boost :

From: Peder Holt (peder.holt_at_[hidden])
Date: 2004-12-10 05:19:30


On Fri, 10 Dec 2004 03:50:58 -0700, Larry Evans
<cppljevans_at_[hidden]> wrote:
> On 12/10/2004 03:25 AM, Larry Evans wrote:
> >
> > where the problem with typedef's is mentioned as the show-stopper.
>
> Actually, Rani Sharoni's post in that thread is the best explanation
> I've seen to date.
>

Still, the problem in his post applies to typedefs.
If A<T>::B is a nested class or struct under A<T>, and not a typedef,
deduction should always be possible.

In the case where B is a typedef:
typedef typename some_class<T> B;
you can deduce some_class<T> instead of A<T>::B

Peder
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk