Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-02-02 14:06:38


AMDG

Alexander Nasonov wrote:
> Steven Watanabe wrote:
>
>> I'm not quite sure how what you are doing helps.
>> typename is required inside a template and illegal
>> outside of one.
>>
>
> Compare
>
> struct nested
> {
> typedef typename encode_begin< .... >::type type;
> // ^^^^^^^^ required only in certain cases.
> };
>
> with
>
> struct nested : encode_begin< .... >
> // ^ no typename here.
> {
> };
>
Ok. Can you provide an example of using your wrapper.
I'm afraid that I don't understand it's purpose.

In Christ,
Steven Watanabe


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