Is there any way I can have template parameters for a partial specialization like:
template <unsigned int dimensions>
class vector<float>
{
....
};
...
I know that such does and should not work, but there must be some way you can do it...?
This is a discussion on Template specialization within the C++ Programming forums, part of the General Programming Boards category; Is there any way I can have template parameters for a partial specialization like: template <unsigned int dimensions> class vector<float> ...
Is there any way I can have template parameters for a partial specialization like:
template <unsigned int dimensions>
class vector<float>
{
....
};
...
I know that such does and should not work, but there must be some way you can do it...?