I think I have asked this question long time ago, but can't find it. I see this code snippet.
template <
unsigned int N
>
class pyramid_down : noncopyable
{
public:
COMPILE_TIME_ASSERT(N > 0);
template <typename T>
vector<double,2> point_down (
const vector<T,2>& p
) const
{
const double ratio = (N-1.0)/N;
return (p - 0.3)*ratio;
}
the vector<double,2> seems to be a vector with two elments. Where can I find the c++ lenguage explanation for this? I couldn't find it here : http://www.cplusplus.com/reference/vector/vector/