Fehlendes ';' vor 'template <'

Beim Kompilieren meines Programms tritt also ein seltsamer Fehler auf:

Error 1 error C2143: syntax error : missing ';' before ''template<''

Ich mache alles ziemlich normal; Nichts Außergewöhnliches:

#ifndef HEAP_H
#define HEAP_H
//**************************************************************************
template<typename TYPE>
class Heap
{
    private:
        TYPE* heapData;
        int currSize;
        int capacity;
        void _siftUp(int);
        void _siftDown(int);
        int _leftChildOf(int) const;
        int _parentOf(int) const;

    public:
        Heap(int c = 100);
        ~Heap();
        bool viewMax(TYPE&) const;
        int getCapacity() const;
        int getCurrSize() const;
        bool insert(const TYPE&);
        bool remove(TYPE&);
};

Nicht ganz sicher, was los ist. Ich habe versucht, mein Programm zu schließen und wieder zu öffnen - kein Glück. Verwenden von Visual Studio 2010

Antworten auf die Frage(1)

Ihre Antwort auf die Frage