public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/26605] using + templates troubles
Date: Wed, 08 Mar 2006 13:57:00 -0000	[thread overview]
Message-ID: <20060308135716.12853.qmail@sourceware.org> (raw)
In-Reply-To: <bug-26605-133@http.gcc.gnu.org/bugzilla/>



------- Comment #1 from pcarlini at suse dot de  2006-03-08 13:57 -------
Actually, the issue seems much simpler:

namespace one
{
  template<typename T>
    void
    fun(T);
}

using one::fun;

template<typename T>
  void
  fun(T);

////////////

paolo:~/Work> g++ -c reduced2.cc
reduced2.cc:12: error: 'template<class T> void fun(T)' conflicts with previous
using declaration 'template<class T> void one::fun(T)'


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|enable_if + using troubles  |using + templates troubles


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26605


  reply	other threads:[~2006-03-08 13:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-08 13:43 [Bug c++/26605] New: enable_if + using troubles pcarlini at suse dot de
2006-03-08 13:57 ` pcarlini at suse dot de [this message]
2006-03-08 14:01 ` [Bug c++/26605] using + templates troubles pcarlini at suse dot de
2006-03-08 14:07 ` pinskia at gcc dot gnu dot org
2006-03-08 14:11 ` pcarlini at suse dot de
2006-03-08 14:15 ` pcarlini at suse dot de
2006-03-08 14:21 ` pinskia at gcc dot gnu dot org
2006-03-08 14:24 ` pcarlini at suse dot de
2006-03-08 14:56 ` pcarlini at suse dot de
2006-03-08 16:20 ` [Bug c++/26605] using + function " pcarlini at suse dot de
2006-03-08 22:28 ` mmitchel at gcc dot gnu dot org
2006-03-08 22:36 ` pcarlini at suse dot de
2006-03-10  9:38 ` pcarlini at suse dot de

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=20060308135716.12853.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).