J
jjw358
i have a .h file that includes the following
template<std::size_t n>
class simplesusp {
public:
simplesusp();
};
in my .cc file, i try to say
simplesusp<8> s;
and i get the following msg from g++
undefined reference to `simplesusp<8u>::simplesusp()'
not sure what i'm doing wrong, any help would be appreciated
template<std::size_t n>
class simplesusp {
public:
simplesusp();
};
in my .cc file, i try to say
simplesusp<8> s;
and i get the following msg from g++
undefined reference to `simplesusp<8u>::simplesusp()'
not sure what i'm doing wrong, any help would be appreciated