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++/24511] [4.0/4.1 Regression] explicit instantiation/extern template unsats on symbols defined later



------- Comment #2 from jason at gcc dot gnu dot org  2005-10-28 20:25 -------
This is not a bug.  All member templates must be defined before an explicit
instantiation of the class.  The existing standard requires an error on this
case, but a future DR will change the standard to match the g++ behavior.

It's desirable to not require all member templates to be defined in the case of
private copy constructors declared only to prevent copying the class.




-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


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


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