Hansi | 21 May 09:49

Re: tuple type question

I mean the version
tup.get<NAME>();

Regarding to microsoft

The typename keyword can be used only in a template definition or 
declaration. In a template declaration, it can be used in two ways:

// C2899b.cpp
// compile with: /c
struct Y {
    typedef int B;
    typename Y::B b;   // C2899
};

Best regards
Hansjörg

Maik Beckmann schrieb:
> Am Dienstag 20 Mai 2008 18:43:28 schrieb Noah Roberts:
> 
>> tup.get<NAME>(); 
> 
>> tup.get<mem>(); 
> 
> Did you mean
>   boost::get<NAME>(tup); 
>   boost::get<mem>(tup); 
> ??
> 
> 
> -- Maik

Gmane