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 libstdc++/33976] New: assignable concept causes errors with self recursive template.


#include <vector>
template < typename T >
struct X
{
        typedef std::vector< X< T > > Y;
        Y y;
};
X< int > x;

g++ reports that '__gnu_cxx::_SGIAssignableConcept<_Tp>::__a'
has incomplete type.


-- 
           Summary: assignable concept causes errors with self recursive
                    template.
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net


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


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