This is the mail archive of the gcc@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]

specialization of implicitly-declared special member function


Is this really an error?  (Where is a copy of the standard available?)

template<class T>
class A {
public:
  template<class I> A (const I& a, const I& b);
  template<> A (int a, int b);
};

g++ -c Test.cc
Test.cc:6: specialization of implicitly-declared special member function


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