This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/63515] New: unused templated member can be instatiated
- From: "luka.rahne at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 12 Oct 2014 18:47:25 +0000
- Subject: [Bug c++/63515] New: unused templated member can be instatiated
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63515
Bug ID: 63515
Summary: unused templated member can be instatiated
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: luka.rahne at gmail dot com
Created attachment 33694
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33694&action=edit
source that fails
I was working on curried functions and came across some unusual behaviour.
(compilation fails with error)
I have trimmed some code and put relevant comments in source.
compiler: g++ 5.0 -> commit 9bf79212ecec2245e66156c2b18d8a76a0187b04
flags: -O3 -Wall -Wextra -std=c++11