#20 Namespace, template, destructor combo problem

OTHER
closed
Earnie Boyd
gcc (462)
out-of-date
Unreproducible
2013-01-25
2000-12-29
Tim Woodard
No

The following fails to compile:

namespace N
{
template< class T > struct TemplateStruct;
}

template< class T >
struct N::TemplateStruct
{
~TemplateStruct() {}
};

Discussion

  • Paul Garceau
    Paul Garceau
    2000-12-30

    Need to be sure you are using c++ or g++ in order to verify that this is a problem. GCC does not fully support c++. Also, verify that you are using latest libstdc++ release. Versions prior to v3 are no longer considered supportable.
    Also, g++ is not part of Mingw maintenance. This bug-report list is only for Mingw related bugs. Template problems such as those noted here do not qualify. You can find full support for g++ v3 by going to the gnu C++ development page.
    This is not a Mingw problem.

     
  • Luke Dunstan
    Luke Dunstan
    2002-05-22

    Logged In: YES
    user_id=30442

    This compiles with GCC 3.1 so the bug can be closed (I don't
    have permission to do this).

     
  • Earnie Boyd
    Earnie Boyd
    2002-08-05

    • milestone: 100100 -->
    • assigned_to: nobody --> earnie
    • status: open --> open-out-of-date
     
  • Earnie Boyd
    Earnie Boyd
    2002-08-05

    • status: open-out-of-date --> closed-out-of-date
     
  • Earnie Boyd
    Earnie Boyd
    2013-01-25

    • status: closed-out-of-date --> closed
    • resolution: --> out-of-date
    • category: --> Unreproducible
    • milestone: --> OTHER