21 May 09:49
Re: tuple type question
From: Hansi <hansipet <at> web.de>
Subject: Re: tuple type question
Newsgroups: gmane.comp.lib.boost.user
Date: 2008-05-21 07:49:09 GMT
Subject: Re: tuple type question
Newsgroups: gmane.comp.lib.boost.user
Date: 2008-05-21 07:49:09 GMT
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
RSS Feed