Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-03-19 06:16:19


Arkadiy Vertleyb writes:
> "Aleksey Gurtovoy" <agurtovoy_at_[hidden]> wrote
> > Arkadiy Vertleyb writes:
> > > I got the impression that the ETI bug has made its way into VC71 ...
>
> > I'd suggest you to post a query to MSVC-specific newsgroup, as
> > Microsoft compiler engineers are obviously in a better position to
> > answer your question.
>
> What would be a good MSVC-specific newsgroup?

Either "microsoft.public.dotnet.languages.vc" or
"microsoft.public.vc.language". Both are available through Google
Groups.

>
> BTW, here is a minimal example that demonstrates it:
>
> template<int n> struct Y
> {
> typedef int type;
> };
>
> template<> struct Y<4>
> {};
>
> template<class T>
> T foo();
>
> template <class T>
> struct X
> {
> typedef Y<sizeof(foo<T>())>::type type;
             ^^
          typename

> };
>
> int main()
> {
> return 0;
> }

Interesting. Looks like you are right and the bug is not completely
gone in 7.1.

--
Aleksey Gurtovoy
MetaCommunications Engineering

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