public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: rodrigc@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
	guillaume.lemaitre33@wanadoo.fr, nobody@gcc.gnu.org
Subject: Re: c++/5435: Resolution of templates with thing[] types
Date: Sun, 20 Jan 2002 14:07:00 -0000	[thread overview]
Message-ID: <20020120220747.20014.qmail@sources.redhat.com> (raw)

Synopsis: Resolution of templates with thing[] types

State-Changed-From-To: open->analyzed
State-Changed-By: rodrigc
State-Changed-When: Sun Jan 20 14:07:46 2002
State-Changed-Why:
    Your code example is ill-formed.
    
    You defined a template function, but did not refer to
    it properly.  Your code example should be something like:
    
    template< typename ContainerAddress_ >
    void f( ContainerAddress_ p_in ) {
    }
     
    int main( const int argc, char * argv[] ) {
      int mof[argc];
     
      f<int *>( mof );
     
      return 0;
    }

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5435


             reply	other threads:[~2002-01-20 22:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-20 14:07 rodrigc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-01-28 10:26 LEMAÎTRE Guillaume
2002-01-20  3:06 guillaume.lemaitre33

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=20020120220747.20014.qmail@sources.redhat.com \
    --to=rodrigc@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=guillaume.lemaitre33@wanadoo.fr \
    --cc=nobody@gcc.gnu.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).