From: Vincent Torri <torri@math.u-strasbg.fr>
To: Gabriel Dos Reis <gdr@acm.org>
Cc: gcc-help@gcc.gnu.org
Subject: Re: incompatibility between g++ and vc++ (again)
Date: Wed, 16 Jun 2004 05:55:00 -0000 [thread overview]
Message-ID: <Pine.SOL.4.21.0406160755280.4013-100000@irmasrv2> (raw)
In-Reply-To: <32824.::ffff:24.250.169.187.1087364471.squirrel@webmail.nerim.net>
On Wed, 16 Jun 2004, Gabriel Dos Reis wrote:
> You Wrote Vincent Torri
> >
> > Hello,
> >
> > i have another problem with vc+ and gcc. gcc does not like the syntax i
> > show below, whereas vc+ does not complain. Here is piece of code:
> >
> >
> > class Dimension
> > { ...
> > template <int bps> Dimension Turn() const {.....}
> > ...
> > };
> >
> >
> > template <int bpp> class LeftTurner
> > {
> >
> > public:
> >
> > BufferWindow operator()(BufferWindow const& source) const
> > {
> > BufferWindow result( source.GetDimension().Turn<bpp>(),
> ^^^^^
> Say:
>
> source.GetDimension().template Turn<bpp>()
>
> This is documented in our FAQ.
it works ;)
thanks a lot !
Vincent TORRI
next prev parent reply other threads:[~2004-06-16 5:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-15 22:13 Vincent Torri
2004-06-16 5:41 ` Gabriel Dos Reis
2004-06-16 5:55 ` Vincent Torri [this message]
2004-06-18 21:24 ` incompatibility between g++ and vc++: Mutex Vincent Torri
2004-06-18 23:25 ` Eljay Love-Jensen
2004-06-19 8:23 ` Vincent Torri
2004-06-25 12:40 ` incompatibility between g++ and vc++: Mutex (solved) Vincent Torri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.SOL.4.21.0406160755280.4013-100000@irmasrv2 \
--to=torri@math.u-strasbg.fr \
--cc=gcc-help@gcc.gnu.org \
--cc=gdr@acm.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).