Boost logo

Boost Users :

From: Hansi (hansipet_at_[hidden])
Date: 2008-05-21 03:49:09


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


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