help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Templates with two params


From: ArbolOne
Subject: Templates with two params
Date: Fri, 28 Sep 2012 13:30:57 -0700 (PDT)
User-agent: G2/1.0

Templates with two params
template <class T, const int> class Data
{
private:
    T data;
    int id;
public:
    Data();
protected:
};
template <class T, const int>
Data<T, const int>::Data()
{
    //ctor

}

What am I doing wrong?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]