This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/31816] [DR 225] If a function foo is defined before declaring a template class A<T>, overloaded version of foo defined after the class declaration will not be available within class A<T>.



------- Comment #10 from paolo dot carlini at oracle dot com  2010-02-03 20:56 -------
Thanks. Jason, I was adding [DR 225] to the Subject when I noticed *another* DR
225, PR29131. Do we want to keep both or not?


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|If a function foo is defined|[DR 225] If a function foo
                   |before declaring a template |is defined before declaring
                   |class A<T>, overloaded      |a template class A<T>,
                   |version of foo defined after|overloaded version of foo
                   |the class declaration will  |defined after the class
                   |not be available within     |declaration will not be
                   |class A<T>.                 |available within class A<T>.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]