public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/58538] Injected class-name treated as type-name instead of template-name when used as a template-argument for a template template-parameter [not found] <bug-58538-4@http.gcc.gnu.org/bugzilla/> @ 2013-09-26 9:24 ` redi at gcc dot gnu.org 2013-09-26 9:40 ` redi at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 4+ messages in thread From: redi at gcc dot gnu.org @ 2013-09-26 9:24 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58538 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- The URL should be http://stackoverflow.com/questions/19013071/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/58538] Injected class-name treated as type-name instead of template-name when used as a template-argument for a template template-parameter [not found] <bug-58538-4@http.gcc.gnu.org/bugzilla/> 2013-09-26 9:24 ` [Bug c++/58538] Injected class-name treated as type-name instead of template-name when used as a template-argument for a template template-parameter redi at gcc dot gnu.org @ 2013-09-26 9:40 ` redi at gcc dot gnu.org 2023-03-15 12:45 ` cvs-commit at gcc dot gnu.org 2023-04-19 19:16 ` ppalka at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: redi at gcc dot gnu.org @ 2013-09-26 9:40 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58538 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Possibly related is that G++ treats X as the class template here, not the injected class name, on contrast to other compilers: template< template< typename > class T > class factory { }; template< typename T > class X { friend class factory< X >; // *** }; int main() { } ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/58538] Injected class-name treated as type-name instead of template-name when used as a template-argument for a template template-parameter [not found] <bug-58538-4@http.gcc.gnu.org/bugzilla/> 2013-09-26 9:24 ` [Bug c++/58538] Injected class-name treated as type-name instead of template-name when used as a template-argument for a template template-parameter redi at gcc dot gnu.org 2013-09-26 9:40 ` redi at gcc dot gnu.org @ 2023-03-15 12:45 ` cvs-commit at gcc dot gnu.org 2023-04-19 19:16 ` ppalka at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2023-03-15 12:45 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58538 --- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Jason Merrill <jason@gcc.gnu.org>: https://gcc.gnu.org/g:40c1352c5a4530350012d6a922435cf491663daa commit r13-6694-g40c1352c5a4530350012d6a922435cf491663daa Author: Jason Merrill <jason@redhat.com> Date: Tue Mar 14 23:16:21 2023 -0400 c++: injected class name as default ttp arg [PR58538] This function needs to handle this case like convert_template_argument. PR c++/58538 gcc/cp/ChangeLog: * semantics.cc (check_template_template_default_arg): Check maybe_get_template_decl_from_type_decl. gcc/testsuite/ChangeLog: * g++.dg/template/ttp7.C: Remove expected error. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/58538] Injected class-name treated as type-name instead of template-name when used as a template-argument for a template template-parameter [not found] <bug-58538-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2023-03-15 12:45 ` cvs-commit at gcc dot gnu.org @ 2023-04-19 19:16 ` ppalka at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: ppalka at gcc dot gnu.org @ 2023-04-19 19:16 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58538 Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org Target Milestone|--- |13.0 Status|NEW |RESOLVED CC| |ppalka at gcc dot gnu.org Resolution|--- |FIXED --- Comment #6 from Patrick Palka <ppalka at gcc dot gnu.org> --- Fixed for GCC 13 then I suppose ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-04-19 19:16 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-58538-4@http.gcc.gnu.org/bugzilla/> 2013-09-26 9:24 ` [Bug c++/58538] Injected class-name treated as type-name instead of template-name when used as a template-argument for a template template-parameter redi at gcc dot gnu.org 2013-09-26 9:40 ` redi at gcc dot gnu.org 2023-03-15 12:45 ` cvs-commit at gcc dot gnu.org 2023-04-19 19:16 ` ppalka at gcc dot gnu.org
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).