public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: notbob@tessellation.com
To: gcc-gnats@gcc.gnu.org
Subject: c++/10649: is_pointer<T> reports pointer to member function is not a pointer
Date: Tue, 06 May 2003 22:56:00 -0000	[thread overview]
Message-ID: <20030506225202.20587.qmail@sources.redhat.com> (raw)


>Number:         10649
>Category:       c++
>Synopsis:       is_pointer<T> reports pointer to member function is not a pointer
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 06 22:56:02 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Robert Allan Schwartz
>Release:        gcc version 3.2 20020927 (prerelease)
>Organization:
>Environment:
in bash via cygwin on windows 98 se
>Description:
I apologize in advance if I'm not reporting this "bug"
absolutely correctly. I haven't done this before. I
appreciate your patience. Thank you.

I believe my template should report void (i_am_a_class::*)(void) is a pointer, but instead it returns false.

Is this "pilot error" or a compiler bug?
>How-To-Repeat:
g++ is_pointer.cpp
./a.exe
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="is_pointer.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="is_pointer.cpp"

dGVtcGxhdGUgPHR5cGVuYW1lIFQ+DQpjbGFzcyBpc19wb2ludGVyIHsgcHVibGljOiBzdGF0aWMg
Y29uc3QgYm9vbCB2YWx1ZSA9IGZhbHNlOyB9Ow0KDQp0ZW1wbGF0ZSA8dHlwZW5hbWUgVD4NCmNs
YXNzIGlzX3BvaW50ZXI8VCAqPiB7IHB1YmxpYzogc3RhdGljIGNvbnN0IGJvb2wgdmFsdWUgPSB0
cnVlOyB9Ow0KDQojaW5jbHVkZSA8aW9zdHJlYW0+DQoNCmNsYXNzIGlfYW1fYV9jbGFzcyB7IH07
DQoNCmludCBtYWluKCkNCnsNCglzdGQ6OmNvdXQgPDwgImlzX3BvaW50ZXI8dm9pZCAoaV9hbV9h
X2NsYXNzOjoqKSh2b2lkKT46OnZhbHVlID0gIiA8PCBpc19wb2ludGVyPHZvaWQgKGlfYW1fYV9j
bGFzczo6Kikodm9pZCk+Ojp2YWx1ZSA8PCBzdGQ6OmVuZGw7DQoNCglyZXR1cm4gMDsNCn0NCg==


             reply	other threads:[~2003-05-06 22:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-06 22:56 notbob [this message]
2003-05-07  0:40 giovannibajo
2003-05-07 23:16 Robert Schwartz
2003-05-07 23:36 Giovanni Bajo
2003-05-07 23:56 Phil Edwards
2003-05-08  0:16 Giovanni Bajo
2003-05-08  0:26 Giovanni Bajo
2003-05-08 14:16 Gabriel Dos Reis
2003-05-08 22:26 Robert Schwartz
2003-05-08 22:36 Phil Edwards
2003-05-08 22:36 Giovanni Bajo
2003-05-09  7:06 Gabriel Dos Reis

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=20030506225202.20587.qmail@sources.redhat.com \
    --to=notbob@tessellation.com \
    --cc=gcc-gnats@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).