This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10807] [3.3/3.4 regression] [DR 295] It should be possible to cv-qualify references even to function types, if the CV qualifications are introduced through a typedef or a template argument
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Dec 2003 03:20:10 -0000
- Subject: [Bug c++/10807] [3.3/3.4 regression] [DR 295] It should be possible to cv-qualify references even to function types, if the CV qualifications are introduced through a typedef or a template argument
- References: <20030515181600.10807.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2003-12-18 03:20 -------
Yes, it's a regression on both the branch and mainline. GCC 2.95 accepts the
code.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[DR 295] It should be |[3.3/3.4 regression] [DR
|possible to cv-qualify |295] It should be possible
|references even to function |to cv-qualify references
|types, if the CV |even to function types, if
|qualifications are |the CV qualifications are
|introduced through a typedef|introduced through a typedef
|or a template argument |or a template argument
Target Milestone|3.4 |3.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10807